mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 16:39:33 +00:00
ospfd: fix static analysis with variable initialised never read
the vrf identifier in the ospf_vrf_enable routine is never read, then does not need to be initialised. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
e9e9b1150f
commit
7d206035d9
@ -2049,7 +2049,7 @@ static int ospf_vrf_delete(struct vrf *vrf)
|
|||||||
static int ospf_vrf_enable(struct vrf *vrf)
|
static int ospf_vrf_enable(struct vrf *vrf)
|
||||||
{
|
{
|
||||||
struct ospf *ospf = NULL;
|
struct ospf *ospf = NULL;
|
||||||
vrf_id_t old_vrf_id = VRF_DEFAULT;
|
vrf_id_t old_vrf_id;
|
||||||
|
|
||||||
if (IS_DEBUG_OSPF_EVENT)
|
if (IS_DEBUG_OSPF_EVENT)
|
||||||
zlog_debug("%s: VRF %s id %u enabled",
|
zlog_debug("%s: VRF %s id %u enabled",
|
||||||
|
Loading…
Reference in New Issue
Block a user