13
0

fix return value and avoid unnecessary extra conditional

This commit is contained in:
Paul Davis 2018-10-07 12:29:37 -04:00
parent 1168ffecad
commit a4692389b8

View File

@ -370,11 +370,11 @@ TransportMasterManager::remove (std::string const & name)
}
}
if (ret == 0 && tm) {
if (ret == 0) {
Removed (tm);
}
return -1;
return ret;
}
int