user32/tests: Remove superfluous code from WM_PAINT loop test

Austin Lund austin.lund at gmail.com
Thu Aug 13 18:40:48 CDT 2009


-------------- next part --------------
From 3a4f00e3c221317d96c327c3067071b1521a2879 Mon Sep 17 00:00:00 2001
From: Austin Lund <austin.lund at gmail.com>
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 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 6ec120a..cf1de25 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:
-- 
1.6.0.4


More information about the wine-patches mailing list