Minor cleanups:

* Make sure variables are always initialized
* Use lround instead of adding .5 and casting
* Remove some unneeded vars
* Check for null before calling strcmp
* Remove redundant if conditions
* Remove make_TxQ factory function
This commit is contained in:
seelabs
2020-04-24 07:32:34 -07:00
committed by manojsdoshi
parent 6d28f2a8d9
commit 328e42ad42
11 changed files with 28 additions and 43 deletions

View File

@@ -81,7 +81,7 @@ class NetworkOPsImp final : public NetworkOPs
bool const admin;
bool const local;
FailHard const failType;
bool applied;
bool applied = false;
TER result;
TransactionStatus(