remove not needed check

PVS analyzer: A part of conditional expression is always true: bWaitAll.
This commit is contained in:
Ilya Shipitsin 2018-11-15 01:51:44 +05:00
parent 268a2c0cf8
commit be8f70998a
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ DWORD WaitForMultipleObjects(DWORD nCount, const HANDLE* lpHandles, BOOL bWaitAl
if (!bWaitAll)
return (WAIT_OBJECT_0 + index);
if (bWaitAll && (signalled >= nCount))
if (signalled >= nCount)
return (WAIT_OBJECT_0);
signal_handled = TRUE;