Commit 398b5cfe authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

advapi32: LookupAccountNameW removed redundant NULL check (Coverity).

parent b859d205
...@@ -2699,7 +2699,7 @@ BOOL WINAPI LookupAccountNameW( LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSI ...@@ -2699,7 +2699,7 @@ BOOL WINAPI LookupAccountNameW( LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSI
nameLen += 1; nameLen += 1;
ret = FALSE; ret = FALSE;
} }
else if (ReferencedDomainName && domainName) else if (ReferencedDomainName)
{ {
strcpyW(ReferencedDomainName, domainName); strcpyW(ReferencedDomainName, domainName);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment