Author: hpoussin
Date: Tue Jul 18 18:40:55 2006
New Revision: 23149
URL:
http://svn.reactos.org/svn/reactos?rev=23149&view=rev
Log:
Fix some 'unreferenced variable' warnings
Modified:
trunk/reactos/dll/win32/acledit/acledit.c
trunk/reactos/dll/win32/acledit/stubs.c
Modified: trunk/reactos/dll/win32/acledit/acledit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/acledit/acledit.…
==============================================================================
--- trunk/reactos/dll/win32/acledit/acledit.c (original)
+++ trunk/reactos/dll/win32/acledit/acledit.c Tue Jul 18 18:40:55 2006
@@ -42,6 +42,8 @@
DWORD dwReason,
LPVOID lpvReserved)
{
+ UNREFERENCED_PARAMETER(lpvReserved);
+
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
Modified: trunk/reactos/dll/win32/acledit/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/acledit/stubs.c?…
==============================================================================
--- trunk/reactos/dll/win32/acledit/stubs.c (original)
+++ trunk/reactos/dll/win32/acledit/stubs.c Tue Jul 18 18:40:55 2006
@@ -26,6 +26,7 @@
WINAPI
EditAuditInfo(DWORD Unknown)
{
+ UNREFERENCED_PARAMETER(Unknown);
UNIMPLEMENTED;
return 0;
}
@@ -34,6 +35,7 @@
WINAPI
EditOwnerInfo(DWORD Unknown)
{
+ UNREFERENCED_PARAMETER(Unknown);
UNIMPLEMENTED;
return 0;
}
@@ -42,6 +44,7 @@
WINAPI
EditPermissionInfo(DWORD Unknown)
{
+ UNREFERENCED_PARAMETER(Unknown);
UNIMPLEMENTED;
return 0;
}
@@ -50,8 +53,11 @@
WINAPI
FMExtensionProcW(HWND hWnd,
WORD wEvent,
- LONG lParam)
+ LONG lParam)
{
+ UNREFERENCED_PARAMETER(hWnd);
+ UNREFERENCED_PARAMETER(wEvent);
+ UNREFERENCED_PARAMETER(lParam);
UNIMPLEMENTED;
return 0;
}
@@ -72,6 +78,19 @@
LPDWORD lpdwChangeContextStatus,
DWORD Reserved)
{
+ UNREFERENCED_PARAMETER(hWndOwner);
+ UNREFERENCED_PARAMETER(hInstance);
+ UNREFERENCED_PARAMETER(lpMachineName);
+ UNREFERENCED_PARAMETER(pAclDlgControl);
+ UNREFERENCED_PARAMETER(pAclEditControl);
+ UNREFERENCED_PARAMETER(lpObjectName);
+ UNREFERENCED_PARAMETER(pChangeCallback);
+ UNREFERENCED_PARAMETER(pChangeCallbackContext);
+ UNREFERENCED_PARAMETER(pObjectSecurity);
+ UNREFERENCED_PARAMETER(bNoReadPermission);
+ UNREFERENCED_PARAMETER(bReadOnly);
+ UNREFERENCED_PARAMETER(lpdwChangeContextStatus);
+ UNREFERENCED_PARAMETER(Reserved);
UNIMPLEMENTED;
return 0;
}
@@ -87,12 +106,26 @@
PACL_CHANGE pChangeCallback,
PVOID pChangeCallbackContext,
PSECURITY_DESCRIPTOR pObjectSecurity,
- BOOL NoReadPermission,
- BOOL NoOwnerChange,
+ BOOL bNoReadPermission,
+ BOOL bNoOwnerChange,
LPDWORD lpdwChangeContextStatus,
PACL_HELP_CONTROL pHelpInfo,
DWORD Reserved)
{
+ UNREFERENCED_PARAMETER(hWndOwner);
+ UNREFERENCED_PARAMETER(hInstance);
+ UNREFERENCED_PARAMETER(lpMachineName);
+ UNREFERENCED_PARAMETER(lpObjectType);
+ UNREFERENCED_PARAMETER(lpObjectName);
+ UNREFERENCED_PARAMETER(dwObjectCount);
+ UNREFERENCED_PARAMETER(pChangeCallback);
+ UNREFERENCED_PARAMETER(pChangeCallbackContext);
+ UNREFERENCED_PARAMETER(pObjectSecurity);
+ UNREFERENCED_PARAMETER(bNoReadPermission);
+ UNREFERENCED_PARAMETER(bNoOwnerChange);
+ UNREFERENCED_PARAMETER(lpdwChangeContextStatus);
+ UNREFERENCED_PARAMETER(pHelpInfo);
+ UNREFERENCED_PARAMETER(Reserved);
UNIMPLEMENTED;
return 0;
}
@@ -112,6 +145,18 @@
LPDWORD lpdwChangeContextStatus,
DWORD Reserved)
{
+ UNREFERENCED_PARAMETER(hWndOwner);
+ UNREFERENCED_PARAMETER(hInstance);
+ UNREFERENCED_PARAMETER(lpMachineName);
+ UNREFERENCED_PARAMETER(pAclDlgControl);
+ UNREFERENCED_PARAMETER(pAclEditControl);
+ UNREFERENCED_PARAMETER(lpObjectName);
+ UNREFERENCED_PARAMETER(pChangeCallback);
+ UNREFERENCED_PARAMETER(pChangeCallbackContext);
+ UNREFERENCED_PARAMETER(pObjectSecurity);
+ UNREFERENCED_PARAMETER(bNoReadPermission);
+ UNREFERENCED_PARAMETER(lpdwChangeContextStatus);
+ UNREFERENCED_PARAMETER(Reserved);
UNIMPLEMENTED;
return 0;
}