Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e4e9fbb
)
ioam: fix Coverity warning (VPP-570)
98/4498/2
author
Vengada
<
[email protected]
>
Mon, 2 Jan 2017 09:02:09 +0000
(
01:02
-0800)
committer
Damjan Marion
<
[email protected]
>
Mon, 2 Jan 2017 10:13:43 +0000
(10:13 +0000)
Fix Coverity warning of uninitialized variable.
Initialize outer_fib_index to zero (vxlan_gpe_test.c)
Change-Id: If39d48c3906784c43c5af3e9e01ed9a5d5631d6e
Signed-off-by: Vengada <
[email protected]
>
plugins/ioam-plugin/ioam/lib-vxlan-gpe/vxlan_gpe_test.c
patch
|
blob
|
history
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
47253eb
..
b5fee72
100644
(file)
--- 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;