summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2015-12-16 19:41:24 +0100
committerDamjan Marion <damarion@cisco.com>2015-12-16 19:46:28 +0100
commitdbbf1db7017d4697ca86830a010671f106bd22c4 (patch)
tree3629ca4060b327ee2203f975cfdfaa104c8a7b18
parentc4bec39c90845820abf28269e6485b65b0d0f0e1 (diff)
Fix warnings in MAP-T code
Change-Id: If211b8b53b462d971eb683305921418224d635e8 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--vnet/vnet/map/ip4_map_t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/map/ip4_map_t.c b/vnet/vnet/map/ip4_map_t.c
index 07f5b19c257..7a72068143a 100644
--- a/vnet/vnet/map/ip4_map_t.c
+++ b/vnet/vnet/map/ip4_map_t.c
@@ -847,7 +847,7 @@ ip4_map_t (vlib_main_t *vm,
vlib_buffer_t *p0, *p1;
ip4_header_t *ip40, *ip41;
map_domain_t *d0, *d1;
- ip4_mapt_next_t next0, next1;
+ ip4_mapt_next_t next0 = 0, next1 = 0;
u16 ip4_len0, ip4_len1;
u8 error0, error1;
i32 dst_port0, dst_port1;