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