mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-17 00:42:27 +00:00
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:
parent
443e99e767
commit
8881d722da
@ -1378,6 +1378,8 @@ struct route_node *rfapiMonitorEthAdd(struct bgp *bgp,
|
|||||||
#if DEBUG_L2_EXTRA
|
#if DEBUG_L2_EXTRA
|
||||||
vnc_zlog_debug_verbose("%s: inserted rfd=%p mon_eth=%p, rc=%d",
|
vnc_zlog_debug_verbose("%s: inserted rfd=%p mon_eth=%p, rc=%d",
|
||||||
__func__, rfd, val, rc);
|
__func__, rfd, val, rc);
|
||||||
|
#else
|
||||||
|
(void)rc;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user