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
committed by
Andrew Yourtchenko
parent
deafa73731
commit
08c6ea544f
@ -174,7 +174,7 @@ unformat_transport_proto (unformat_input_t * input, va_list * args)
|
|||||||
#undef _
|
#undef _
|
||||||
if (longest_match)
|
if (longest_match)
|
||||||
{
|
{
|
||||||
unformat (input, str_match);
|
(void) unformat (input, str_match);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user