user32/tests: Remove superfluous code from WM_PAINT loop test.

This commit is contained in:
Austin Lund 2009-08-14 09:33:18 +10:00 committed by Alexandre Julliard
parent c3c712c17f
commit 3dcd46f597
1 changed files with 0 additions and 3 deletions

View File

@ -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: