From 87701e50120ead031536d542aefc53170aa410b5 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 13 Jul 2019 12:09:22 -0700 Subject: [PATCH] COVA10022: no need to set stack var --- lib/core-net/pollfd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core-net/pollfd.c b/lib/core-net/pollfd.c index 8010e1798..3543f98e6 100644 --- a/lib/core-net/pollfd.c +++ b/lib/core-net/pollfd.c @@ -29,7 +29,7 @@ _lws_change_pollfd(struct lws *wsi, int _and, int _or, struct lws_pollargs *pa) #endif struct lws_context_per_thread *pt; struct lws_context *context; - int ret = 0, pa_events = 1; + int ret = 0, pa_events; struct lws_pollfd *pfd; int sampled_tid, tid;