Skip to content

Commit ae26f22

Browse files
committed
void unused variable
1 parent 8b5fc53 commit ae26f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/net/unit/conntrack_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ CASE("Testing Conntrack serialization")
181181
// This one aint gonna be serialized
182182

183183
auto* with_close_handler = ct->simple_track_in(rquad, Protocol::ICMPv4);
184-
with_close_handler->on_close = [](auto* ent) { ent->state; };
184+
with_close_handler->on_close = [](auto* ent) { (void)ent->state; };
185185

186186
EXPECT(ct->number_of_entries() == 6);
187187

0 commit comments

Comments
 (0)