summaryrefslogtreecommitdiffstats
path: root/src/gtest
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2015-12-15 15:39:58 +0200
committerHanoh Haim <hhaim@cisco.com>2015-12-15 15:39:58 +0200
commitfb74954c33722dc25236137f76c8fa7a3aeafa2e (patch)
tree60ea1d8daac9bab312e7bf01179aee192a1eb08f /src/gtest
parente7ffce7b0317f9861264b17d003b22915177de33 (diff)
fix ubuntu compiler warnings
Diffstat (limited to 'src/gtest')
-rw-r--r--src/gtest/trex_stateless_gtest.cpp4
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) );