mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 04:41:03 +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
|
||||
vnc_zlog_debug_verbose("%s: inserted rfd=%p mon_eth=%p, rc=%d",
|
||||
__func__, rfd, val, rc);
|
||||
#else
|
||||
(void)rc;
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user