From: David Lamparter Date: Tue, 15 Sep 2015 09:12:23 +0000 (-0700) Subject: ospf6d: fix uninitialized warning in SNMP X-Git-Tag: frr-2.0-rc1~712 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d8adbe0983c170b78553dbcc55fa4d348ecd3307;p=mirror%2Ffrr.git ospf6d: fix uninitialized warning in SNMP Signed-off-by: David Lamparter (cherry picked from commit a4065069e6bdd0bc7475312530b0e9457f818e0d) --- diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c index 42432d7133..ed1917c3a8 100644 --- a/ospf6d/ospf6_snmp.c +++ b/ospf6d/ospf6_snmp.c @@ -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;