windows: Removed (what I think is) a copy/paste error.

This commit is contained in:
Ryan C. Gordon 2017-08-05 01:26:07 -04:00
parent be9bf023d0
commit 248167af40
1 changed files with 0 additions and 12 deletions

View File

@ -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 */