Remove compare on "result >= WAIT_OBJECT_0" (Issue 311)

pull/326/head
Jeffrey Walton 2016-09-29 15:47:53 -04:00
parent 639a11c74a
commit 1c30ffc64a
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -372,7 +372,7 @@ bool WaitObjectContainer::Wait(unsigned long milliseconds)
lastTime = timeAfterWait;
}
#endif
if (result >= WAIT_OBJECT_0 && result < WAIT_OBJECT_0 + m_handles.size())
if (result < WAIT_OBJECT_0 + m_handles.size())
{
if (result == m_lastResult)
m_sameResultCount++;