aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/gre/interface.c2
-rw-r--r--src/vppinfra/vector/toeplitz.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/gre/interface.c b/src/vnet/gre/interface.c
index 4a02aa77292..bc78c605068 100644
--- a/src/vnet/gre/interface.c
+++ b/src/vnet/gre/interface.c
@@ -353,7 +353,7 @@ static walk_rc_t
gre_tunnel_add_teib_walk (index_t nei, void *ctx)
{
gre_tunnel_t *t = ctx;
- gre_tunnel_key_t key;
+ gre_tunnel_key_t key = {};
gre_teib_mk_key (t, teib_entry_get (nei), &key);
gre_tunnel_db_add (t, &key);
diff --git a/src/vppinfra/vector/toeplitz.c b/src/vppinfra/vector/toeplitz.c
index b0140d51e6f..fcc4b64ad19 100644
--- a/src/vppinfra/vector/toeplitz.c
+++ b/src/vppinfra/vector/toeplitz.c
@@ -66,7 +66,7 @@ void
clib_toeplitz_hash_key_expand (u64 *matrixes, u8 *key, int size)
{
u64x8u *m = (u64x8u *) matrixes;
- u64x2 kv, zero = {};
+ u64x2 kv = {}, zero = {};
while (size >= 8)
{