ole32: Remove one noop check in CoWaitForMultipleHandles().
This commit is contained in:
parent
216a1b3767
commit
76e7cc9423
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue