Marcus Meissner : advapi32: LookupAccountNameW removed redundant NULL check (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Feb 9 10:29:50 CST 2009
Module: wine
Branch: master
Commit: 398b5cfef6ac03df0e573b57b9c9ec70e8cbc5be
URL: http://source.winehq.org/git/wine.git/?a=commit;h=398b5cfef6ac03df0e573b57b9c9ec70e8cbc5be
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Mon Feb 9 08:52:42 2009 +0100
advapi32: LookupAccountNameW removed redundant NULL check (Coverity).
---
dlls/advapi32/security.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advapi32/security.c b/dlls/advapi32/security.c
index 38ca284..4153d93 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -2699,7 +2699,7 @@ BOOL WINAPI LookupAccountNameW( LPCWSTR lpSystemName, LPCWSTR lpAccountName, PSI
nameLen += 1;
ret = FALSE;
}
- else if (ReferencedDomainName && domainName)
+ else if (ReferencedDomainName)
{
strcpyW(ReferencedDomainName, domainName);
}
More information about the wine-cvs
mailing list