aboutsummaryrefslogtreecommitdiffstats
path: root/test/ext
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-04-26 23:25:08 +0200
committerDamjan Marion <damarion@cisco.com>2021-04-26 23:26:03 +0200
commit137869dbfba346e911bf83c06db2ab6cd6828e6f (patch)
tree41109b276b5e3c30f68f980dc69968a3fd9fe677 /test/ext
parent7992bdcecea6935b630203b5a73c4df641d46b5d (diff)
vapi: silence warnings
Type: fix Change-Id: I91d7bfbfaafc7b780f91dec7c9e5ce07241e6394 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'test/ext')
-rw-r--r--test/ext/vapi_cpp_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ext/vapi_cpp_test.cpp b/test/ext/vapi_cpp_test.cpp
index ee0a9f38d3e..1dd58f85484 100644
--- a/test/ext/vapi_cpp_test.cpp
+++ b/test/ext/vapi_cpp_test.cpp
@@ -146,7 +146,7 @@ START_TEST (test_loopbacks_1)
{ // new context
bool seen[num_ifs] = {0};
Sw_interface_dump d (con);
- auto &p = d.get_request ().get_payload ();
+ d.get_request ().get_payload ();
auto rv = d.execute ();
ck_assert_int_eq (VAPI_OK, rv);
WAIT_FOR_RESPONSE (d, rv);
@@ -186,7 +186,7 @@ START_TEST (test_loopbacks_1)
{ // new context
Sw_interface_dump d (con);
- auto &p = d.get_request ().get_payload ();
+ d.get_request ().get_payload ();
auto rv = d.execute ();
ck_assert_int_eq (VAPI_OK, rv);
WAIT_FOR_RESPONSE (d, rv);
@@ -302,7 +302,7 @@ START_TEST (test_loopbacks_2)
Sw_interface_dump_cb<num_ifs> swdcb (ccbs);
Sw_interface_dump d (con, std::ref (swdcb));
- auto &p = d.get_request ().get_payload ();
+ d.get_request ().get_payload ();
auto rv = d.execute ();
ck_assert_int_eq (VAPI_OK, rv);
WAIT_FOR_RESPONSE (d, rv);
@@ -329,7 +329,7 @@ START_TEST (test_loopbacks_2)
{ // new context
Sw_interface_dump d (con);
- auto &p = d.get_request ().get_payload ();
+ d.get_request ().get_payload ();
auto rv = d.execute ();
ck_assert_int_eq (VAPI_OK, rv);
WAIT_FOR_RESPONSE (d, rv);