summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVengada <venggovi@cisco.com>2017-01-01 03:43:11 -0800
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-02 10:03:55 +0000
commita9cd3ebecfc0fbda6d534f82a72178a1e0de291b (patch)
tree6420c64ae11fc13b3206bd06f6f8f6094c31d75f
parentcb034b9b374927c7552e36dcbc306d8456b2a0cb (diff)
ioam: fix Coverity issue
Initialize outer_fib_index variable to zero to avoid coverity warning. Change-Id: I400564f5873b23ceb1c72ea2e9e1df69b1e82f0c Signed-off-by: Vengada <venggovi@cisco.com>
-rw-r--r--src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_test.c b/src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_test.c
index 47253eb67ab..b5fee7246b4 100644
--- a/src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_test.c
+++ b/src/plugins/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;