summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-09-15 02:12:23 -0700
committerMartin Winter <mwinter@opensourcerouting.org>2015-10-16 23:50:46 -0700
commita4065069e6bdd0bc7475312530b0e9457f818e0d (patch)
treeb983314c1b7152fe7d351c99e79a7190d44ef363
parentce93c34d51ea30d1ba4f699af5601502bbbbcdf8 (diff)
downloadquagga-a4065069e6bdd0bc7475312530b0e9457f818e0d.tar.bz2
quagga-a4065069e6bdd0bc7475312530b0e9457f818e0d.tar.xz
ospf6d: fix uninitialized warning in SNMP
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--ospf6d/ospf6_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c
index ef44e4c9..307d420e 100644
--- a/ospf6d/ospf6_snmp.c
+++ b/ospf6d/ospf6_snmp.c
@@ -628,7 +628,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;