Author: cwittich
Date: Sat Jul 8 14:00:15 2006
New Revision: 22908
URL:
http://svn.reactos.org/svn/reactos?rev=22908&view=rev
Log:
-fixed msvc /W4 warnings
-removed ntdll dependency
Modified:
trunk/reactos/dll/win32/cards/cards.c
trunk/reactos/dll/win32/cards/cards.rbuild
Modified: trunk/reactos/dll/win32/cards/cards.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cards/cards.c?re…
==============================================================================
--- trunk/reactos/dll/win32/cards/cards.c (original)
+++ trunk/reactos/dll/win32/cards/cards.c Sat Jul 8 14:00:15 2006
@@ -31,6 +31,7 @@
*/
BOOL WINAPI WEP(DWORD Unknown)
{
+ UNREFERENCED_PARAMETER(Unknown);
return TRUE;
}
@@ -229,13 +230,19 @@
*/
BOOL WINAPI cdtAnimate(HDC hdc, int cardback, int x, int y, int frame)
{
+ UNREFERENCED_PARAMETER(frame);
+ UNREFERENCED_PARAMETER(y);
+ UNREFERENCED_PARAMETER(x);
+ UNREFERENCED_PARAMETER(cardback);
+ UNREFERENCED_PARAMETER(hdc);
return TRUE;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
- if (fdwReason == DLL_PROCESS_ATTACH)
+ UNREFERENCED_PARAMETER(lpvReserved);
+ if (fdwReason == DLL_PROCESS_ATTACH)
g_hModule = hinstDLL;
- return TRUE;
-}
+ return TRUE;
+}
Modified: trunk/reactos/dll/win32/cards/cards.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cards/cards.rbui…
==============================================================================
--- trunk/reactos/dll/win32/cards/cards.rbuild (original)
+++ trunk/reactos/dll/win32/cards/cards.rbuild Sat Jul 8 14:00:15 2006
@@ -4,7 +4,6 @@
<define name="UNICODE" />
<define name="_UNICODE" />
<define name="__USE_W32API" />
- <library>ntdll</library>
<library>kernel32</library>
<library>gdi32</library>
<library>user32</library>