mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 07:15:19 +00:00
zebra: fix initialised vrf_id value never read
this is a static analysis performed by c-lang scan-build tool that demonstrated this issue. This commit is handling the fix. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
ec31f30d28
commit
0439cb9d9e
@ -1414,7 +1414,7 @@ DEFUN (show_interface_name_vrf,
|
|||||||
int idx_ifname = 2;
|
int idx_ifname = 2;
|
||||||
int idx_name = 4;
|
int idx_name = 4;
|
||||||
struct interface *ifp;
|
struct interface *ifp;
|
||||||
vrf_id_t vrf_id = VRF_DEFAULT;
|
vrf_id_t vrf_id;
|
||||||
|
|
||||||
interface_update_stats();
|
interface_update_stats();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user