From: Daniel Karbach Date: Wed, 7 Oct 2015 20:30:01 +0000 (+0200) Subject: initialize packet control in test X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=b6effe22f680573c3ebcbad2674a08379c182b27;p=blank.git initialize packet control in test oO --- 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",