rfapi: fix clang warning

When DEBUG_L2_EXTRA is not set, clang emits a warning because rc is not
used.

Signed-off-by: Vincent Jardin <vincent.jardin@6wind.com>
This commit is contained in:
Vincent JARDIN 2017-10-08 23:43:59 +02:00
parent 443e99e767
commit 8881d722da

View File

@ -1378,6 +1378,8 @@ struct route_node *rfapiMonitorEthAdd(struct bgp *bgp,
#if DEBUG_L2_EXTRA
vnc_zlog_debug_verbose("%s: inserted rfd=%p mon_eth=%p, rc=%d",
__func__, rfd, val, rc);
#else
(void)rc;
#endif
/*