mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
refactor: Enable more clang-tidy readability checks (#6595)
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
@@ -31,7 +31,7 @@ initStateDB(soci::session& session, BasicConfig const& config, std::string const
|
||||
count = *countO;
|
||||
}
|
||||
|
||||
if (!count)
|
||||
if (count == 0)
|
||||
{
|
||||
session << "INSERT INTO DbState VALUES (1, '', '', 0);";
|
||||
}
|
||||
@@ -45,7 +45,7 @@ initStateDB(soci::session& session, BasicConfig const& config, std::string const
|
||||
count = *countO;
|
||||
}
|
||||
|
||||
if (!count)
|
||||
if (count == 0)
|
||||
{
|
||||
session << "INSERT INTO CanDelete VALUES (1, 0);";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user