From: Quentin Young Date: Mon, 6 May 2019 18:24:25 +0000 (+0000) Subject: bgpd: fix rfapi false compiler warning X-Git-Tag: base_7.2~293^2~15 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=21fe4510f9fc7198ac3b4890deb5b8b0eba39dd6;p=matthieu%2Ffrr.git bgpd: fix rfapi false compiler warning Signed-off-by: Quentin Young --- diff --git a/bgpd/rfapi/rfapi_import.c b/bgpd/rfapi/rfapi_import.c index ad0900c2b8..b6d32d36ea 100644 --- a/bgpd/rfapi/rfapi_import.c +++ b/bgpd/rfapi/rfapi_import.c @@ -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); }