From: Donald Sharp Date: Thu, 19 Jan 2017 13:49:47 +0000 (-0500) Subject: pimd: Cleanup compile warnings X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7a6e6567880b656c4a62cdec0160446d7b6dbf58;p=mirror%2Ffrr.git pimd: Cleanup compile warnings Cleanup some compile warnings in pim on *bsd. Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index e48320222f..ae00e347b5 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -53,8 +53,8 @@ int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr, int nei { struct pim_zlookup_nexthop nexthop_tab[MULTIPATH_NUM]; int num_ifindex; - struct interface *ifp; - int first_ifindex; + struct interface *ifp = NULL; + ifindex_t first_ifindex = 0; int found = 0; int i = 0;