session: fix coverity warning 69/26169/2
authorDave Barach <dave@barachs.net>
Thu, 26 Mar 2020 14:56:13 +0000 (10:56 -0400)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 26 Mar 2020 16:23:17 +0000 (16:23 +0000)
Type: fix
Ticket: VPP-1837

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ib5da600b7a40f775de7dc5b9aaa8d967e49e8632

src/vnet/session/transport.c

index d9a54ff..6904685 100644 (file)
@@ -172,7 +172,7 @@ unformat_transport_proto (unformat_input_t * input, va_list * args)
     }
   if (longest_match)
     {
-      unformat (input, str_match);
+      (void) unformat (input, str_match);
       return 1;
     }