aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-05-01 15:50:19 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-05-01 15:50:19 -0500
commita5cc613a68e5c8edca7c9816b1a3d8e4c60e5eb6 (patch)
tree6f28a7ed41379dbe66b9253bf9e906a427407cbf
parentMerge pull request #6457 (diff)
parentunit_tests: fix gcc+ warning (diff)
downloadmonero-a5cc613a68e5c8edca7c9816b1a3d8e4c60e5eb6.tar.xz
Merge pull request #6460
f8b1480 unit_tests: fix gcc+ warning (sumogr)
-rw-r--r--tests/unit_tests/levin.cpp4
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;
}