mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
unit_tests: fix gcc+ warning
This commit is contained in:
parent
57854a3e21
commit
f8b1480f95
1 changed files with 4 additions and 0 deletions
|
@ -583,7 +583,9 @@ TEST_F(levin_notify, stem_without_padding)
|
||||||
{
|
{
|
||||||
const std::size_t sent = context->process_send_queue();
|
const std::size_t sent = context->process_send_queue();
|
||||||
if (sent && is_stem)
|
if (sent && is_stem)
|
||||||
|
{
|
||||||
EXPECT_EQ(1u, (context - contexts_.begin()) % 2);
|
EXPECT_EQ(1u, (context - contexts_.begin()) % 2);
|
||||||
|
}
|
||||||
send_count += sent;
|
send_count += sent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -653,7 +655,9 @@ TEST_F(levin_notify, local_without_padding)
|
||||||
{
|
{
|
||||||
const std::size_t sent = context->process_send_queue();
|
const std::size_t sent = context->process_send_queue();
|
||||||
if (sent && is_stem)
|
if (sent && is_stem)
|
||||||
|
{
|
||||||
EXPECT_EQ(1u, (context - contexts_.begin()) % 2);
|
EXPECT_EQ(1u, (context - contexts_.begin()) % 2);
|
||||||
|
}
|
||||||
send_count += sent;
|
send_count += sent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue