Commit 76e7cc94 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

ole32: Remove one noop check in CoWaitForMultipleHandles().

parent 216a1b37
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment