mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
remove unused label and simplify return value/return path
This commit is contained in:
parent
3b1ec8a43b
commit
745d138b64
1 changed files with 2 additions and 5 deletions
|
|
@ -1711,7 +1711,6 @@ bool
|
|||
SoundFileOmega::check_link_status (const Session* s, const vector<string>& paths)
|
||||
{
|
||||
std::string tmpdir(Glib::build_filename (s->session_directory().sound_path(), "linktest"));
|
||||
bool ret = false;
|
||||
|
||||
if (g_mkdir (tmpdir.c_str(), 0744)) {
|
||||
if (errno != EEXIST) {
|
||||
|
|
@ -1730,11 +1729,9 @@ SoundFileOmega::check_link_status (const Session* s, const vector<string>& paths
|
|||
}
|
||||
}
|
||||
|
||||
ret = true;
|
||||
|
||||
out:
|
||||
g_rmdir (tmpdir.c_str());
|
||||
return ret;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
SoundFileChooser::SoundFileChooser (string title, ARDOUR::Session* s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue