ole32: Remove one noop check in CoWaitForMultipleHandles().

This commit is contained in:
Gerald Pfeifer 2008-01-01 14:14:24 +01:00 committed by Alexandre Julliard
parent 216a1b3767
commit 76e7cc9423
1 changed files with 1 additions and 1 deletions

View File

@ -3508,7 +3508,7 @@ HRESULT WINAPI CoWaitForMultipleHandles(DWORD dwFlags, DWORD dwTimeout,
(dwFlags & COWAIT_ALERTABLE) ? TRUE : FALSE);
}
if ((res >= WAIT_OBJECT_0) && (res < WAIT_OBJECT_0 + cHandles))
if (res < WAIT_OBJECT_0 + cHandles)
{
/* handle signaled, store index */
*lpdwindex = (res - WAIT_OBJECT_0);