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;