summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec_api.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-03-13 15:29:15 -0400
committerDave Barach <dave@barachs.net>2019-03-13 15:29:59 -0400
commita5160d7d1f0dda554960e1f0e9f7074bda256baa (patch)
tree235db392765869de1e9d52f358e70099c829da3c /src/vnet/ipsec/ipsec_api.c
parent3e94c419e3398e0c030ed0d3d3c72cac38397fe6 (diff)
VPP-1576: fix a set of coverity warnings
Change-Id: Ifd34aed8692d5acaa370d4976d974ac573e43705 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/ipsec/ipsec_api.c')
-rw-r--r--src/vnet/ipsec/ipsec_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_api.c b/src/vnet/ipsec/ipsec_api.c
index 33634c9b3a2..906f4c4c16d 100644
--- a/src/vnet/ipsec/ipsec_api.c
+++ b/src/vnet/ipsec/ipsec_api.c
@@ -342,7 +342,7 @@ static void vl_api_ipsec_sad_entry_add_del_t_handler
ipsec_integ_alg_t integ_alg;
ipsec_protocol_t proto;
ipsec_sa_flags_t flags;
- u32 id, spi, sa_index;
+ u32 id, spi, sa_index = ~0;
int rv;
#if WITH_LIBSSL > 0