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: