]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: suppress dead store warning
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 9 May 2019 16:04:07 +0000 (16:04 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 29 May 2019 18:03:26 +0000 (18:03 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_packet.c

index de7df1d47f63aabc96fd887f47dbd3d71455ccfe..655a4745cba045681bc37cd6cbfb882bfe0fb315 100644 (file)
@@ -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