bgpd: fix rfapi false compiler warning

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-05-06 18:24:25 +00:00
parent db878db01a
commit 21fe4510f9

View File

@ -4111,6 +4111,9 @@ static void rfapiProcessPeerDownRt(struct peer *peer,
timer_service_func = rfapiWithdrawTimerEncap;
break;
default:
/* Suppress uninitialized variable warning */
rt = NULL;
timer_service_func = NULL;
assert(0);
}