From 5041dc4fbf6be647f1fb36988bf355eb4636dbf9 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Thu, 9 May 2019 16:04:07 +0000 Subject: [PATCH] bgpd: suppress dead store warning Signed-off-by: Quentin Young --- bgpd/bgp_packet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c index de7df1d47f..655a4745cb 100644 --- a/bgpd/bgp_packet.c +++ b/bgpd/bgp_packet.c @@ -2306,6 +2306,7 @@ int bgp_process_packet(struct thread *thread) default: /* Suppress uninitialized variable warning */ mprc = 0; + (void)mprc; /* * The message type should have been sanitized before * we ever got here. Receipt of a message with an -- 2.39.5