From 248167af407df0c8ff6117aff1e0faa9a0702f74 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 5 Aug 2017 01:26:07 -0400 Subject: [PATCH] windows: Removed (what I think is) a copy/paste error. --- src/physfs_platform_windows.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/physfs_platform_windows.c b/src/physfs_platform_windows.c index 922fa965..3b0dbef0 100644 --- a/src/physfs_platform_windows.c +++ b/src/physfs_platform_windows.c @@ -359,19 +359,7 @@ static DWORD WINAPI detectCDThread(LPVOID arg) /* we've been asked to quit. */ DestroyWindow(detectCDHwnd); - - /* !!! FIXME: why is this here? Was this a copy/paste error? */ - do - { - const BOOL rc = GetMessage(&msg, detectCDHwnd, 0, 0); - if ((rc == 0) || (rc == -1)) - break; - TranslateMessage(&msg); - DispatchMessageW(&msg); - } while (1); - UnregisterClassA(classname, hInstance); - return 0; } /* detectCDThread */