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>
This commit is contained in:
Donald Sharp 2016-05-07 15:42:51 -04:00 committed by Donald Sharp
parent 18f1dc06c5
commit cd657e2324

View File

@ -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;