From d8adbe0983c170b78553dbcc55fa4d348ecd3307 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 15 Sep 2015 02:12:23 -0700 Subject: [PATCH] ospf6d: fix uninitialized warning in SNMP Signed-off-by: David Lamparter (cherry picked from commit a4065069e6bdd0bc7475312530b0e9457f818e0d) --- ospf6d/ospf6_snmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5