aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/udp/udp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/udp/udp.c b/src/vnet/udp/udp.c
index 81bdb8bd0e4..bf91c905eb6 100644
--- a/src/vnet/udp/udp.c
+++ b/src/vnet/udp/udp.c
@@ -238,6 +238,7 @@ format_udp_session (u8 * s, va_list * args)
u8 *
format_udp_half_open_session (u8 * s, va_list * args)
{
+ u32 __clib_unused tci = va_arg (*args, u32);
clib_warning ("BUG");
return 0;
}
@@ -246,6 +247,7 @@ u8 *
format_udp_listener_session (u8 * s, va_list * args)
{
u32 tci = va_arg (*args, u32);
+ u32 __clib_unused verbose = va_arg (*args, u32);
udp_connection_t *uc = udp_listener_get (tci);
return format (s, "%U", format_udp_connection, uc);
}