Author: cwittich
Date: Sat Jul 8 22:30:34 2006
New Revision: 22932
URL:
http://svn.reactos.org/svn/reactos?rev=22932&view=rev
Log:
-fixed msvc /W4 warnings and errors
Modified:
trunk/reactos/dll/cpl/mmsys/mmsys.c
Modified: trunk/reactos/dll/cpl/mmsys/mmsys.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/mmsys.c?rev=…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/mmsys.c (original)
+++ trunk/reactos/dll/cpl/mmsys/mmsys.c Sat Jul 8 22:30:34 2006
@@ -67,14 +67,15 @@
WPARAM wParam,
LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(lParam);
+ UNREFERENCED_PARAMETER(wParam);
switch(uMsg)
{
case WM_INITDIALOG:
{
- GUID Guids[] = {
- GUID_DEVCLASS_CDROM,
- GUID_DEVCLASS_MEDIA,
- };
+ GUID Guids[2];
+ Guids[0] = GUID_DEVCLASS_CDROM;
+ Guids[1] = GUID_DEVCLASS_MEDIA;
/* create the hardware page */
DeviceCreateHardwarePageEx(hwndDlg,
@@ -97,6 +98,11 @@
PROPSHEETPAGE psp[1];
PROPSHEETHEADER psh = {0};
TCHAR Caption[256];
+
+ UNREFERENCED_PARAMETER(lParam);
+ UNREFERENCED_PARAMETER(wParam);
+ UNREFERENCED_PARAMETER(uMsg);
+ UNREFERENCED_PARAMETER(hwnd);
LoadString(hApplet,
IDS_CPLNAME,
@@ -182,6 +188,7 @@
DWORD dwReason,
LPVOID lpReserved)
{
+ UNREFERENCED_PARAMETER(lpReserved);
switch(dwReason)
{
case DLL_PROCESS_ATTACH: