Author: hpoussin
Date: Tue Jul 18 17:56:00 2006
New Revision: 23145
URL:
http://svn.reactos.org/svn/reactos?rev=23145&view=rev
Log:
Fix some 'unreferenced variable' warnings
Modified:
trunk/reactos/base/setup/welcome/welcome.c
Modified: trunk/reactos/base/setup/welcome/welcome.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/welcome/welcome…
==============================================================================
--- trunk/reactos/base/setup/welcome/welcome.c (original)
+++ trunk/reactos/base/setup/welcome/welcome.c Tue Jul 18 17:56:00 2006
@@ -114,6 +114,9 @@
WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX;
BITMAP BitmapInfo;
+ UNREFERENCED_PARAMETER(hPrevInstance);
+ UNREFERENCED_PARAMETER(lpszCmdLine);
+
hInstance = hInst;
/* Load icons */
@@ -313,6 +316,9 @@
HDC ScreenDC;
DWORD dwTop;
DWORD dwHeight = 0;
+
+ UNREFERENCED_PARAMETER(wParam);
+ UNREFERENCED_PARAMETER(lParam);
hbrLightBlue = CreateSolidBrush(LIGHT_BLUE);
hbrDarkBlue = CreateSolidBrush(DARK_BLUE);
@@ -457,6 +463,8 @@
static LRESULT
OnCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(lParam);
+
if (LOWORD(wParam) == IDC_CLOSEBUTTON)
{
DestroyWindow(hWnd);
@@ -518,6 +526,9 @@
BITMAP bmpInfo;
TCHAR version[50];
+ UNREFERENCED_PARAMETER(wParam);
+ UNREFERENCED_PARAMETER(lParam);
+
hdc = BeginPaint(hWnd, &ps);
/* Banner panel */
@@ -662,6 +673,9 @@
TCHAR szText[80];
int iBkMode;
+ UNREFERENCED_PARAMETER(hWnd);
+ UNREFERENCED_PARAMETER(wParam);
+
if (lpDis->hwndItem == hwndCloseButton)
{
DrawFrameControl(lpDis->hDC,
@@ -707,6 +721,9 @@
static LRESULT
OnMouseMove(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(wParam);
+ UNREFERENCED_PARAMETER(lParam);
+
if (nTopic != -1)
{
nTopic = -1;
@@ -721,6 +738,8 @@
static LRESULT
OnCtlColorStatic(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(hWnd);
+
if ((HWND)lParam == hwndCheckButton)
{
SetBkColor((HDC)wParam, LIGHT_BLUE);
@@ -734,6 +753,9 @@
static LRESULT
OnActivate(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
+ UNREFERENCED_PARAMETER(hWnd);
+ UNREFERENCED_PARAMETER(wParam);
+ UNREFERENCED_PARAMETER(lParam);
nTopic = -1;
InvalidateRect(hwndMain, &rcRightPanel, TRUE);
@@ -745,6 +767,10 @@
OnDestroy(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
int i;
+
+ UNREFERENCED_PARAMETER(hWnd);
+ UNREFERENCED_PARAMETER(wParam);
+ UNREFERENCED_PARAMETER(lParam);
for (i=0;i<10;i++)
{