]> granicus.if.org Git - libevent/commitdiff
variable redefinition in win32_dispatch
authormohuang <mayerui@live.com>
Mon, 25 May 2020 02:33:24 +0000 (10:33 +0800)
committerGitHub <noreply@github.com>
Mon, 25 May 2020 02:33:24 +0000 (10:33 +0800)
win32select.c

index 0ddfe4b499af1a05981236867f76e6e84d9ba1fd..d005b587d4512bae351cc0f05c58826d360c89b0 100644 (file)
@@ -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; j<win32op->writeset_out->fd_count; ++j) {