]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: fix uninitialized warning in SNMP
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 15 Sep 2015 09:12:23 +0000 (02:12 -0700)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:33:32 +0000 (15:33 +0000)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit a4065069e6bdd0bc7475312530b0e9457f818e0d)

ospf6d/ospf6_snmp.c

index 42432d7133ec704dfee0c21aa07d8c8f4ecb53f8..ed1917c3a807fab691b13eb779bf2b0215713f10 100644 (file)
@@ -626,7 +626,7 @@ ospfv3WwLsdbEntry (struct variable *v, oid *name, size_t *length,
   int len;
   oid *offset;
   int offsetlen;
-  struct ospf6_area *oa;
+  struct ospf6_area *oa = NULL;
   struct listnode *node;
   struct interface *iif;
   struct ospf6_interface *oi = NULL;