windows: Removed (what I think is) a copy/paste error.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 05 Aug 2017 01:26:07 -0400
changeset 1535 9aad8ee469f5
parent 1534 2035d523fc6f
child 1536 c791c9aaa2a2
windows: Removed (what I think is) a copy/paste error.
src/physfs_platform_windows.c
--- a/src/physfs_platform_windows.c	Sat Aug 05 01:24:53 2017 -0400
+++ b/src/physfs_platform_windows.c	Sat Aug 05 01:26:07 2017 -0400
@@ -359,19 +359,7 @@
 
     /* 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 */