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:
Philippe Guibert 2018-01-22 13:46:20 +01:00
parent ec31f30d28
commit 0439cb9d9e

View File

@ -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();