mirror of https://github.com/FreeRDP/FreeRDP
remove not needed check
PVS analyzer: A part of conditional expression is always true: bWaitAll.
This commit is contained in:
parent
268a2c0cf8
commit
be8f70998a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue