From b6effe22f680573c3ebcbad2674a08379c182b27 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Wed, 7 Oct 2015 22:30:01 +0200 Subject: [PATCH 1/1] initialize packet control in test oO --- tst/net/PacketTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tst/net/PacketTest.cpp b/tst/net/PacketTest.cpp index 751421b..b5f9eed 100644 --- a/tst/net/PacketTest.cpp +++ b/tst/net/PacketTest.cpp @@ -45,8 +45,7 @@ void PacketTest::testSizes() { } void PacketTest::testControl() { - Packet::TControl ctrl; - ctrl.ack = 10; + Packet::TControl ctrl{ 0, 10, 0 }; CPPUNIT_ASSERT_MESSAGE( "TControl should ack the packet in the ack field", -- 2.39.2