From a6b4bd8bfc2fd52c59bf1a315655663b5261ab90 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Tue, 18 Aug 2020 13:25:47 +0100 Subject: [PATCH] coverity: 62374: no need to init n --- lib/plat/unix/unix-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plat/unix/unix-service.c b/lib/plat/unix/unix-service.c index f6213b7c3..7bb22ed65 100644 --- a/lib/plat/unix/unix-service.c +++ b/lib/plat/unix/unix-service.c @@ -71,7 +71,7 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi) volatile struct lws_context_per_thread *vpt; struct lws_context_per_thread *pt; lws_usec_t timeout_us, us; - int n = -1; + int n; #if (defined(LWS_ROLE_WS) && !defined(LWS_WITHOUT_EXTENSIONS)) || defined(LWS_WITH_TLS) int m; #endif