summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-06-30 07:54:29 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-06-30 14:51:19 +0000
commit734268f484d8deb5d2054dadc890e48b26f77feb (patch)
treee00324d7a5a1d6dd9a685e685b2d6726f928c750
parent53dd08c59eac0c2fe2f7c38ec242c57bfc3ea0ad (diff)
vcl: coverity fixes
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I290e4b0dff6afe7ce755074f3aaaf945dbbf3e09
-rw-r--r--src/vcl/vppcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index 73ec40b42b8..ddd5e0b9e19 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -3266,7 +3266,7 @@ static void
vcl_epoll_wait_handle_lt (vcl_worker_t *wrk, struct epoll_event *events,
int maxevents, u32 *n_evts)
{
- u32 add_event, next;
+ u32 add_event = 0, next;
vcl_session_t *s;
u64 evt_data;
int rv;