Gerald Pfeifer : user32/tests: Remove variable old_left_margin which is not really used from test_margins .

Alexandre Julliard julliard at winehq.org
Tue May 4 13:06:37 CDT 2010


Module: wine
Branch: master
Commit: 9da2bbfab75189f20153459a81538d61c7dcb160
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9da2bbfab75189f20153459a81538d61c7dcb160

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  1 22:09:48 2010 +0200

user32/tests: Remove variable old_left_margin which is not really used from test_margins.

---

 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 9dd6fac..fb74143 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -1381,13 +1381,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 */




More information about the wine-cvs mailing list