mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 01:06:48 +00:00
refactor: Enable more clang-tidy readability checks (#6595)
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
@@ -260,7 +260,7 @@ public:
|
||||
env.close();
|
||||
}
|
||||
|
||||
Json::Value
|
||||
static Json::Value
|
||||
trust_explicit_amt(jtx::Account const& a, STAmount const& amt)
|
||||
{
|
||||
Json::Value jv;
|
||||
@@ -287,7 +287,7 @@ public:
|
||||
for (std::uint64_t badFlag = 1u; badFlag <= std::numeric_limits<std::uint32_t>::max();
|
||||
badFlag *= 2)
|
||||
{
|
||||
if (badFlag & tfTrustSetMask)
|
||||
if ((badFlag & tfTrustSetMask) != 0u)
|
||||
{
|
||||
env(trust(alice, gw["USD"](100), static_cast<std::uint32_t>(badFlag)),
|
||||
ter(temINVALID_FLAG));
|
||||
|
||||
Reference in New Issue
Block a user