mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user