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

@@ -1549,10 +1549,4 @@ setup_TxQ(Config const& config)
return setup;
}
std::unique_ptr<TxQ>
make_TxQ(TxQ::Setup const& setup, beast::Journal j)
{
return std::make_unique<TxQ>(setup, j);
}
} // namespace ripple