diff options
author | Sumo Gr <sumogr@mail.com> | 2020-04-18 18:04:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 18:04:20 +0300 |
commit | f8b1480f95bd2710a506b6f9c5a06ed464464e61 (patch) | |
tree | 29bb692103644f42b4d822e7ab9249a118cd3b95 /tests/unit_tests | |
parent | Merge pull request #6314 (diff) | |
download | monero-f8b1480f95bd2710a506b6f9c5a06ed464464e61.tar.xz |
unit_tests: fix gcc+ warning
Diffstat (limited to 'tests/unit_tests')
-rw-r--r-- | tests/unit_tests/levin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit_tests/levin.cpp b/tests/unit_tests/levin.cpp index 62b101a42..d2ef920ef 100644 --- a/tests/unit_tests/levin.cpp +++ b/tests/unit_tests/levin.cpp @@ -583,7 +583,9 @@ TEST_F(levin_notify, stem_without_padding) { const std::size_t sent = context->process_send_queue(); if (sent && is_stem) + { EXPECT_EQ(1u, (context - contexts_.begin()) % 2); + } send_count += sent; } @@ -653,7 +655,9 @@ TEST_F(levin_notify, local_without_padding) { const std::size_t sent = context->process_send_queue(); if (sent && is_stem) + { EXPECT_EQ(1u, (context - contexts_.begin()) % 2); + } send_count += sent; } |