bgpd: suppress dead store warning

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-05-09 16:04:07 +00:00
parent 8da59e56de
commit 5041dc4fbf

View File

@ -2306,6 +2306,7 @@ int bgp_process_packet(struct thread *thread)
default: default:
/* Suppress uninitialized variable warning */ /* Suppress uninitialized variable warning */
mprc = 0; mprc = 0;
(void)mprc;
/* /*
* The message type should have been sanitized before * The message type should have been sanitized before
* we ever got here. Receipt of a message with an * we ever got here. Receipt of a message with an