From 3dcd46f597e3a3cad0c38252ac9c85fb6d7d3ace Mon Sep 17 00:00:00 2001 From: Austin Lund Date: Fri, 14 Aug 2009 09:33:18 +1000 Subject: [PATCH] user32/tests: Remove superfluous code from WM_PAINT loop test. --- dlls/user32/tests/win.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 6ec120aa8b5..cf1de2562df 100644 --- a/dlls/user32/tests/win.c +++ b/dlls/user32/tests/win.c @@ -4863,8 +4863,6 @@ static LRESULT CALLBACK TestNCRedraw_WndProc(HWND hwnd, UINT msg, WPARAM wParam, { static UINT ncredrawflags; PAINTSTRUCT ps; - RECT rect; - BOOL updateRectValue; switch(msg) { @@ -4872,7 +4870,6 @@ static LRESULT CALLBACK TestNCRedraw_WndProc(HWND hwnd, UINT msg, WPARAM wParam, ncredrawflags = *(UINT *) (((CREATESTRUCT *)lParam)->lpCreateParams); return 0; case WM_NCPAINT: - updateRectValue = GetUpdateRect(hwnd, &rect, FALSE); RedrawWindow(hwnd, NULL, NULL, ncredrawflags); break; case WM_PAINT: