vapi: silence warnings
Type: fix
@@ -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);
