[ADVAPI32] Remove unused debug channels and comment out unused variables. Silences some clang-cl warnings.

This commit is contained in:
Amine Khaldi 2017-12-07 23:34:28 +01:00
parent 5633423086
commit 7ed4c1dd03
4 changed files with 6 additions and 5 deletions

View file

@ -9,7 +9,6 @@
*/
#include <advapi32.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
extern BOOL RegInitialize(VOID);
extern BOOL RegCleanup(VOID);

View file

@ -10,8 +10,6 @@
#include <advapi32.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/**************************************************************************
* IsTextUnicode (ADVAPI32.@)
*

View file

@ -6,8 +6,6 @@
*/
#include <advapi32.h>
WINE_DEFAULT_DEBUG_CHANNEL(advapi);
/******************************************************************************
* BuildImpersonateTrusteeA [ADVAPI32.@]

View 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