From fb74954c33722dc25236137f76c8fa7a3aeafa2e Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Tue, 15 Dec 2015 15:39:58 +0200 Subject: fix ubuntu compiler warnings --- src/gtest/trex_stateless_gtest.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gtest/trex_stateless_gtest.cpp') diff --git a/src/gtest/trex_stateless_gtest.cpp b/src/gtest/trex_stateless_gtest.cpp index d758ea7e..88c68095 100644 --- a/src/gtest/trex_stateless_gtest.cpp +++ b/src/gtest/trex_stateless_gtest.cpp @@ -805,7 +805,7 @@ static void vm_build_program_seq(StreamVm & vm, ); - vm.set_packet_size(128); + vm.set_packet_size(packet_size); vm.compile_next(); } @@ -2050,8 +2050,6 @@ TEST_F(basic_stl, vm_enable0) { streams.push_back(stream1); // stream - clean - - std::vector objs; assert(compile.compile(port_id,streams, objs) ); -- cgit 1.2.3-korg