From 0439cb9d9e15053181f0bf13e49c39d74ca37e50 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Mon, 22 Jan 2018 13:46:20 +0100 Subject: [PATCH] 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 --- zebra/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/interface.c b/zebra/interface.c index 74ffdee31f..e919d9f08f 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -1414,7 +1414,7 @@ DEFUN (show_interface_name_vrf, int idx_ifname = 2; int idx_name = 4; struct interface *ifp; - vrf_id_t vrf_id = VRF_DEFAULT; + vrf_id_t vrf_id; interface_update_stats();