mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +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);
|
Removed (tm);
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue