Remove variable old_left_margin which is not really used from test_margins.

Gerald Pfeifer gerald at pfeifer.com
Sat May 1 15:09:48 CDT 2010


---
 dlls/user32/tests/edit.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c
index 9e4f336..7386acb 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -1372,13 +1372,12 @@ static void test_margins(void)
 {
     HWND hwEdit;
     RECT old_rect, new_rect;
-    INT old_left_margin, old_right_margin;
+    INT old_right_margin;
     DWORD old_margins, new_margins;
 
     hwEdit = create_editcontrol(WS_BORDER | ES_AUTOHSCROLL | ES_AUTOVSCROLL, 0);
     
     old_margins = SendMessage(hwEdit, EM_GETMARGINS, 0, 0);
-    old_left_margin = LOWORD(old_margins);
     old_right_margin = HIWORD(old_margins);
     
     /* Check if setting the margins works */
-- 
1.6.6.2



More information about the wine-patches mailing list