ioam: fix Coverity issue 95/4495/4
authorVengada <[email protected]>
Sun, 1 Jan 2017 11:43:11 +0000 (03:43 -0800)
committerDamjan Marion <[email protected]>
Mon, 2 Jan 2017 10:03:55 +0000 (10:03 +0000)
Initialize outer_fib_index variable to zero to avoid coverity warning.

Change-Id: I400564f5873b23ceb1c72ea2e9e1df69b1e82f0c
Signed-off-by: Vengada <[email protected]>
src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_test.c

index 47253eb..b5fee72 100644 (file)
@@ -466,7 +466,7 @@ api_vxlan_gpe_ioam_transit_disable (vat_main_t * vam)
   ip6_address_t local6;
   u8 ipv4_set = 0, ipv6_set = 0;
   u8 local_set = 0;
-  u32 outer_fib_index;
+  u32 outer_fib_index = 0;
   f64 timeout;