]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pimd: Cleanup compile warnings
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 19 Jan 2017 13:49:47 +0000 (08:49 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 19 Jan 2017 13:49:47 +0000 (08:49 -0500)
Cleanup some compile warnings in pim on *bsd.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_rpf.c

index e48320222feb9d8255fa96cec65aee0feba42dc7..ae00e347b5f3d1c0d99d8f359789c499e76b2362 100644 (file)
@@ -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;