From: Philippe Guibert Date: Mon, 22 Jan 2018 12:46:20 +0000 (+0100) Subject: zebra: fix initialised vrf_id value never read X-Git-Tag: frr-5.0-dev~209^2~23 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0439cb9d9e15053181f0bf13e49c39d74ca37e50;p=matthieu%2Ffrr.git 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 --- 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();