lib: Initialize variable

Initialize a variable to prevent warnings.

Updates: 8087b296b4

Ticket: CM-10258
Reviewed By:  Trivial
Testing Done: None
This commit is contained in:
vivek 2016-04-05 10:40:33 -07:00
parent 8087b296b4
commit 0f48374b38

View File

@ -150,7 +150,7 @@ vrf_get (vrf_id_t vrf_id, const char *name)
struct prefix p;
struct route_node *rn;
struct vrf *vrf = NULL;
size_t namelen;
size_t namelen = 0;
vrf_build_key (vrf_id, &p);
rn = route_node_get (vrf_table, &p);