From: mohuang Date: Mon, 25 May 2020 02:33:24 +0000 (+0800) Subject: variable redefinition in win32_dispatch X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f10aaea37433b60ed3e0b7adcc7b1764c8b0b518;p=libevent variable redefinition in win32_dispatch --- diff --git a/win32select.c b/win32select.c index 0ddfe4b4..d005b587 100644 --- a/win32select.c +++ b/win32select.c @@ -352,7 +352,6 @@ win32_dispatch(struct event_base *base, struct timeval *tv) } } if (win32op->writeset_out->fd_count) { - SOCKET s; i = evutil_weakrand_range_(&base->weakrand_seed, win32op->writeset_out->fd_count); for (j=0; jwriteset_out->fd_count; ++j) {