From 06afa136e98ce4de5bd1161914a7418f5e19098d Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 31 Oct 2016 09:20:01 -0400 Subject: [PATCH] pimd: Fix gcc compile issue. Signed-off-by: Donald Sharp --- pimd/pim_ifchannel.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pimd/pim_ifchannel.c b/pimd/pim_ifchannel.c index 96546f1da8..f5b20ab485 100644 --- a/pimd/pim_ifchannel.c +++ b/pimd/pim_ifchannel.c @@ -470,7 +470,6 @@ static int on_ifjoin_prune_pending_timer(struct thread *t) int send_prune_echo; /* boolean */ struct interface *ifp; struct pim_interface *pim_ifp; - struct prefix_sg sg; zassert(t); ch = THREAD_ARG(t); @@ -485,9 +484,6 @@ static int on_ifjoin_prune_pending_timer(struct thread *t) pim_ifp = ifp->info; send_prune_echo = (listcount(pim_ifp->pim_neighbor_list) > 1); - /* Save (S,G) */ - sg = ch->sg; - ifjoin_to_noinfo(ch); /* from here ch may have been deleted */ -- 2.39.5