From: Vengada Date: Mon, 2 Jan 2017 09:02:09 +0000 (-0800) Subject: ioam: fix Coverity warning (VPP-570) X-Git-Tag: v17.01-rc2~7 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=800429ddefd291c3ca3716235253d8f4f69a8398;p=vpp.git ioam: fix Coverity warning (VPP-570) Fix Coverity warning of uninitialized variable. Initialize outer_fib_index to zero (vxlan_gpe_test.c) Change-Id: If39d48c3906784c43c5af3e9e01ed9a5d5631d6e Signed-off-by: Vengada --- diff --git a/plugins/ioam-plugin/ioam/lib-vxlan-gpe/vxlan_gpe_test.c b/plugins/ioam-plugin/ioam/lib-vxlan-gpe/vxlan_gpe_test.c index 47253eb67ab..b5fee7246b4 100644 --- a/plugins/ioam-plugin/ioam/lib-vxlan-gpe/vxlan_gpe_test.c +++ b/plugins/ioam-plugin/ioam/lib-vxlan-gpe/vxlan_gpe_test.c @@ -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;