mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 22:22:16 +00:00
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:
parent
8087b296b4
commit
0f48374b38
@ -150,7 +150,7 @@ vrf_get (vrf_id_t vrf_id, const char *name)
|
|||||||
struct prefix p;
|
struct prefix p;
|
||||||
struct route_node *rn;
|
struct route_node *rn;
|
||||||
struct vrf *vrf = NULL;
|
struct vrf *vrf = NULL;
|
||||||
size_t namelen;
|
size_t namelen = 0;
|
||||||
|
|
||||||
vrf_build_key (vrf_id, &p);
|
vrf_build_key (vrf_id, &p);
|
||||||
rn = route_node_get (vrf_table, &p);
|
rn = route_node_get (vrf_table, &p);
|
||||||
|
Loading…
Reference in New Issue
Block a user