diff options
author | Hanoh Haim <hhaim@cisco.com> | 2015-12-15 15:39:58 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2015-12-15 15:39:58 +0200 |
commit | fb74954c33722dc25236137f76c8fa7a3aeafa2e (patch) | |
tree | 60ea1d8daac9bab312e7bf01179aee192a1eb08f /src/gtest/trex_stateless_gtest.cpp | |
parent | e7ffce7b0317f9861264b17d003b22915177de33 (diff) |
fix ubuntu compiler warnings
Diffstat (limited to 'src/gtest/trex_stateless_gtest.cpp')
-rw-r--r-- | src/gtest/trex_stateless_gtest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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<TrexStreamsCompiledObj *> objs; assert(compile.compile(port_id,streams, objs) ); |