session: fix coverity warning

Type: fix
Ticket: VPP-1837

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ib5da600b7a40f775de7dc5b9aaa8d967e49e8632
(cherry picked from commit 4897d77c6d4d5d04eb7e02bda57dc6c7005a609f)
This commit is contained in:
Dave Barach 2020-03-26 10:56:13 -04:00 committed by Andrew Yourtchenko
parent deafa73731
commit 08c6ea544f

View File

@ -174,7 +174,7 @@ unformat_transport_proto (unformat_input_t * input, va_list * args)
#undef _
if (longest_match)
{
unformat (input, str_match);
(void) unformat (input, str_match);
return 1;
}