From: Artem Glazychev Date: Wed, 23 Sep 2020 13:47:48 +0000 (+0700) Subject: wireguard: coverity fix X-Git-Tag: v21.06-rc0~471 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=49774343545d0e0c40f6d80a7194f09b4681827f;p=vpp.git wireguard: coverity fix Type: fix Change-Id: Ib69b9d83a77d315368ce091085b6bc2d26994282 Signed-off-by: Artem Glazychev --- diff --git a/src/plugins/wireguard/wireguard_handoff.c b/src/plugins/wireguard/wireguard_handoff.c index b0b74229452..8a2efa508b3 100644 --- a/src/plugins/wireguard/wireguard_handoff.c +++ b/src/plugins/wireguard/wireguard_handoff.c @@ -79,7 +79,7 @@ wg_handoff (vlib_main_t * vm, while (n_left_from > 0) { const wg_peer_t *peer; - index_t peeri; + index_t peeri = INDEX_INVALID; if (PREDICT_FALSE (mode == WG_HANDOFF_HANDSHAKE)) {