unit_tests: fix gcc+ warning

This commit is contained in:
Sumo Gr 2020-04-18 18:04:20 +03:00 committed by wowario
parent 2b8bab2132
commit 8347fb8d58
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -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;
}