remove not needed check

PVS analyzer: A part of conditional expression is always true: DomainMatch.
This commit is contained in:
Ilya Shipitsin 2018-11-15 01:54:39 +05:00
parent be8f70998a
commit 77323d6f1d

View File

@ -405,7 +405,7 @@ WINPR_SAM_ENTRY* SamLookupUserW(WINPR_SAM* sam, LPWSTR User, UINT32 UserLength,
free(EntryUser); free(EntryUser);
if (UserMatch && DomainMatch) if (UserMatch)
{ {
Found = TRUE; Found = TRUE;
break; break;