The zclient_broken() function is not used. In order to allow --enable-werror
to work properly this needs to be fixed.
---
pimd/pim_zebra.c | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 56894b7..aeb4e2b 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -51,21 +51,6 @@ static int del_oif(struct channel_oil *channel_oil,
struct interface *oif,
uint32_t proto_mask);
-static void zclient_broken(struct zclient *zclient)
-{
- struct listnode *ifnode;
- struct interface *ifp;
-
- zlog_warn("%s %s: broken zclient connection",
- __FILE__, __PRETTY_FUNCTION__);
-
- for (ALL_LIST_ELEMENTS_RO(iflist, ifnode, ifp)) {
- pim_if_addr_del_all(ifp);
- }
-
- /* upon return, zclient will discard connected addresses */
-}
-
/* Router-id update message from zebra. */
static int pim_router_id_update_zebra(int command, struct zclient *zclient,
zebra_size_t length)
--
1.7.10.4
_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev