From: Donald Sharp Date: Mon, 31 Oct 2016 13:20:01 +0000 (-0400) Subject: pimd: Fix gcc compile issue. X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~150 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=06afa136e98ce4de5bd1161914a7418f5e19098d;p=mirror%2Ffrr.git pimd: Fix gcc compile issue. Signed-off-by: Donald Sharp --- 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 */