diff options
author | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-05-07 21:42:51 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-19 16:42:30 +0200 |
commit | cd657e232444402dd3c1c6f31ec4e53d713c64a6 (patch) | |
tree | 8d2efa747dfd09f49c9d3e9937f18c75f998d367 /lib/routemap.c | |
parent | bgpd: Clean up some static analysis warnings (diff) | |
download | frr-cd657e232444402dd3c1c6f31ec4e53d713c64a6.tar.xz frr-cd657e232444402dd3c1c6f31ec4e53d713c64a6.zip |
lib: Fix possible uninitialized pointer usage.
Signed-off-by: Donald Sharp <sharp@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/routemap.c')
-rw-r--r-- | lib/routemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index 733e61c99..1a31271b1 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -1207,7 +1207,7 @@ route_map_dep_update (struct hash *dephash, const char *dep_name, const char *rmap_name, route_map_event_t type) { - struct route_map_dep *dep; + struct route_map_dep *dep = NULL; char *ret_map_name; char *dname, *rname; int ret = 0; |