From 7a6e6567880b656c4a62cdec0160446d7b6dbf58 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 19 Jan 2017 08:49:47 -0500 Subject: [PATCH] pimd: Cleanup compile warnings Cleanup some compile warnings in pim on *bsd. Signed-off-by: Donald Sharp --- pimd/pim_rpf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5