From 97fd1cd2a1c98562d71b57e1bb483e4a8a4ec334 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Sat, 22 Nov 2025 13:46:03 +0000 Subject: [PATCH] Fix warning --- src/win32_window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/win32_window.c b/src/win32_window.c index c120b3a17..8dd91b46e 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -2181,13 +2181,12 @@ void _glfwWaitEventsWin32(void) void _glfwWaitEventsTimeoutWin32(double timeout) { - DWORD ret; double timeStart, timeEnd, timeWait; timeStart = glfwGetTime(); timeWait = timeout; do { - ret = MsgWaitForMultipleObjects(0, NULL, FALSE, (DWORD) (timeWait * 1e3), QS_ALLINPUT); + MsgWaitForMultipleObjects(0, NULL, FALSE, (DWORD) (timeWait * 1e3), QS_ALLINPUT); _glfwPollEventsWin32(); timeEnd = glfwGetTime();