From: Jacek Caban <jacek@codeweavers.com> Fixes -Wunused-but-set-global warnings. --- dlls/http.sys/http.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/http.sys/http.c b/dlls/http.sys/http.c index 260e022f20a..56cdbe996ff 100644 --- a/dlls/http.sys/http.c +++ b/dlls/http.sys/http.c @@ -42,7 +42,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(http); DECLARE_CRITICAL_SECTION(http_cs); static HANDLE request_thread, request_event; -static BOOL thread_stop; static HTTP_REQUEST_ID req_id_counter; @@ -1195,7 +1194,6 @@ static void WINAPI unload(DRIVER_OBJECT *driver) struct request_queue *queue, *queue_next; struct connection *conn, *conn_next; - thread_stop = TRUE; SetEvent(request_event); WaitForSingleObject(request_thread, INFINITE); CloseHandle(request_thread); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11260