Skip to content

Commit

Permalink
windows: Removed (what I think is) a copy/paste error.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 5, 2017
1 parent be9bf02 commit 248167a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/physfs_platform_windows.c
Expand Up @@ -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 */

Expand Down

0 comments on commit 248167a

Please sign in to comment.