[ADVAPI32] Remove unused debug channels and comment out unused variables. Silences...
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 7 Dec 2017 22:34:28 +0000 (23:34 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 7 Dec 2017 22:34:28 +0000 (23:34 +0100)
dll/win32/advapi32/misc/dllmain.c
dll/win32/advapi32/misc/unicode.c
dll/win32/advapi32/sec/trustee.c
dll/win32/advapi32/wine/security.c

index 7959cc2..e914bc8 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include <advapi32.h>
-WINE_DEFAULT_DEBUG_CHANNEL(advapi);
 
 extern BOOL RegInitialize(VOID);
 extern BOOL RegCleanup(VOID);
index b4e2ddb..d9cebc5 100644 (file)
@@ -10,8 +10,6 @@
 
 #include <advapi32.h>
 
-WINE_DEFAULT_DEBUG_CHANNEL(advapi);
-
 /**************************************************************************
  *  IsTextUnicode (ADVAPI32.@)
  *
index a889cc9..196cbd9 100644 (file)
@@ -6,8 +6,6 @@
  */
 
 #include <advapi32.h>
-WINE_DEFAULT_DEBUG_CHANNEL(advapi);
-
 
 /******************************************************************************
  * BuildImpersonateTrusteeA [ADVAPI32.@]
index 9b85eee..5885f5d 100644 (file)
@@ -120,7 +120,9 @@ static const WELLKNOWNRID WellKnownRids[] = {
     { {'R','S'}, WinAccountRasAndIasServersSid, DOMAIN_ALIAS_RID_RAS_SERVERS },
 };
 
+#ifndef __REACTOS__
 static const SID sidWorld = { SID_REVISION, 1, { SECURITY_WORLD_SID_AUTHORITY} , { SECURITY_WORLD_RID } };
+#endif
 
 static const WCHAR SDDL_NO_READ_UP[]       = {'N','R',0};
 static const WCHAR SDDL_NO_WRITE_UP[]      = {'N','W',0};
@@ -131,13 +133,17 @@ static const WCHAR SDDL_NO_EXECUTE_UP[]    = {'N','X',0};
  */
 static const WCHAR SDDL_ACCESS_ALLOWED[]        = {'A',0};
 static const WCHAR SDDL_ACCESS_DENIED[]         = {'D',0};
+#ifndef __REACTOS__
 static const WCHAR SDDL_OBJECT_ACCESS_ALLOWED[] = {'O','A',0};
 static const WCHAR SDDL_OBJECT_ACCESS_DENIED[]  = {'O','D',0};
+#endif
 static const WCHAR SDDL_AUDIT[]                 = {'A','U',0};
 static const WCHAR SDDL_ALARM[]                 = {'A','L',0};
 static const WCHAR SDDL_MANDATORY_LABEL[]       = {'M','L',0};
+#ifndef __REACTOS__
 static const WCHAR SDDL_OBJECT_AUDIT[]          = {'O','U',0};
 static const WCHAR SDDL_OBJECT_ALARM[]          = {'O','L',0};
+#endif
 
 /*
  * SDDL ADS Rights