Marcus Meissner : advapi32: Removed redundant NULL check.

Alexandre Julliard julliard at winehq.org
Fri Oct 31 09:24:05 CDT 2008


Module: wine
Branch: master
Commit: 508ef4ce20d96aaebc841dc161dd6fa87a4c9330
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=508ef4ce20d96aaebc841dc161dd6fa87a4c9330

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Thu Oct 30 23:49:24 2008 +0100

advapi32: Removed redundant NULL check.

---

 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 2093f7e..f57136d 100644
--- a/dlls/advapi32/security.c
+++ b/dlls/advapi32/security.c
@@ -2661,7 +2661,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