mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
fix return value and avoid unnecessary extra conditional
This commit is contained in:
parent
1168ffecad
commit
a4692389b8
1 changed files with 2 additions and 2 deletions
|
|
@ -370,11 +370,11 @@ TransportMasterManager::remove (std::string const & name)
|
|||
}
|
||||
}
|
||||
|
||||
if (ret == 0 && tm) {
|
||||
if (ret == 0) {
|
||||
Removed (tm);
|
||||
}
|
||||
|
||||
return -1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue