mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 07:10:53 +00:00
refactor: Enable more clang-tidy readability checks (#6595)
Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
@@ -443,7 +443,7 @@ AMM::deposit(
|
||||
// If including asset1In and asset2In or tokens as
|
||||
// deposit min amounts then must set the flags
|
||||
// explicitly instead of relying on this logic.
|
||||
if (!(jvFlags & tfDepositSubTx))
|
||||
if ((jvFlags & tfDepositSubTx) == 0u)
|
||||
{
|
||||
if (tokens && !asset1In)
|
||||
{
|
||||
@@ -573,7 +573,7 @@ AMM::withdraw(
|
||||
std::uint32_t jvFlags = 0;
|
||||
if (flags)
|
||||
jvFlags = *flags;
|
||||
if (!(jvFlags & tfWithdrawSubTx))
|
||||
if ((jvFlags & tfWithdrawSubTx) == 0u)
|
||||
{
|
||||
if (tokens && !asset1Out)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user