diff options
author | Vincent JARDIN <vincent.jardin@6wind.com> | 2017-10-08 23:43:59 +0200 |
---|---|---|
committer | Vincent JARDIN <vincent.jardin@6wind.com> | 2017-10-08 23:43:59 +0200 |
commit | 8881d722da1adac3a04949a63a85e23689e9b3eb (patch) | |
tree | 1d25043f7c59ab6754e2c1f022d6766312cbd67d /bgpd | |
parent | eirgpd: fix clang warning (diff) | |
download | frr-8881d722da1adac3a04949a63a85e23689e9b3eb.tar.xz frr-8881d722da1adac3a04949a63a85e23689e9b3eb.zip |
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>
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/rfapi/rfapi_monitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/rfapi/rfapi_monitor.c b/bgpd/rfapi/rfapi_monitor.c index 6a7595443..47a72d75f 100644 --- a/bgpd/rfapi/rfapi_monitor.c +++ b/bgpd/rfapi/rfapi_monitor.c @@ -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 /* |