session: fix coverity warning 69/28369/1
authorDave Barach <dave@barachs.net>
Thu, 26 Mar 2020 14:56:13 +0000 (10:56 -0400)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 13 Aug 2020 10:39:40 +0000 (10:39 +0000)
Type: fix
Ticket: VPP-1837

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ib5da600b7a40f775de7dc5b9aaa8d967e49e8632
(cherry picked from commit 4897d77c6d4d5d04eb7e02bda57dc6c7005a609f)

src/vnet/session/transport.c

index 902c740..1f4772b 100644 (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;
     }