remove not needed check
PVS analyzer: A part of conditional expression is always true: DomainMatch.
This commit is contained in:
parent
be8f70998a
commit
77323d6f1d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user