aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVengada <venggovi@cisco.com>2017-01-02 01:02:09 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-02 10:13:43 +0000
commit800429ddefd291c3ca3716235253d8f4f69a8398 (patch)
tree134413a9c4999f061d047a4346a0b2ee4b66b0ab
parente4e9fbbb7c8fa4385ae31072d60ad8621fe798a4 (diff)
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 <venggovi@cisco.com>
-rw-r--r--plugins/ioam-plugin/ioam/lib-vxlan-gpe/vxlan_gpe_test.c2
1 files changed, 1 insertions, 1 deletions
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;