From 80df099b48dd5316842b150e90c0f7df016f45cb Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 29 Nov 2016 18:39:50 -0500 Subject: [PATCH] pimd: Fix stupidity compile errors I introduced compile errors using gcc, that worked fine with clang. This removes the issue. Signed-off-by: Donald Sharp --- pimd/pim_cmd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 6f16a7e6d2..78b4a569fb 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -4099,15 +4099,12 @@ DEFUN (interface_no_ip_igmp_query_max_response_time, { VTY_DECLVAR_CONTEXT(interface, ifp); struct pim_interface *pim_ifp; - int default_query_interval_dsec; pim_ifp = ifp->info; if (!pim_ifp) return CMD_SUCCESS; - default_query_interval_dsec = 10 * pim_ifp->igmp_default_query_interval; - change_query_max_response_time(pim_ifp, IGMP_QUERY_MAX_RESPONSE_TIME_DSEC); return CMD_SUCCESS; @@ -4166,15 +4163,12 @@ DEFUN_HIDDEN (interface_no_ip_igmp_query_max_response_time_dsec, { VTY_DECLVAR_CONTEXT(interface, ifp); struct pim_interface *pim_ifp; - int default_query_interval_dsec; pim_ifp = ifp->info; if (!pim_ifp) return CMD_SUCCESS; - default_query_interval_dsec = 10 * pim_ifp->igmp_default_query_interval; - change_query_max_response_time(pim_ifp, IGMP_QUERY_MAX_RESPONSE_TIME_DSEC); return CMD_SUCCESS; -- 2.39.5