netapi32: Remove two unused global variables.

Michael Stefaniuc mstefani at redhat.de
Tue Jan 1 12:10:07 CST 2008


This fixes two sparse warnings:
dlls/netapi32/access.c:436:24: warning: symbol 'sAdminUserName' shadows an earlier one
dlls/netapi32/access.c:475:24: warning: symbol 'sGuestUserName' shadows an earlier one
---
 dlls/netapi32/access.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c
index dc9498b..028c1ca 100644
--- a/dlls/netapi32/access.c
+++ b/dlls/netapi32/access.c
@@ -58,10 +58,6 @@ struct sam_user
     LPWSTR user_logon_script_path;
 };
 
-static const WCHAR sAdminUserName[] = {'A','d','m','i','n','i','s','t','r','a','t',
-                                'o','r',0};
-static const WCHAR sGuestUserName[] = {'G','u','e','s','t',0};
-
 static struct list user_list = LIST_INIT( user_list );
 
 BOOL NETAPI_IsLocalComputer(LPCWSTR ServerName);
-- 
1.5.4.rc2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080101/60a36c11/attachment.pgp 


More information about the wine-patches mailing list