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

This commit is contained in:
Gerald Pfeifer 2010-05-01 22:09:48 +02:00 committed by Alexandre Julliard
parent e86c6799a0
commit 9da2bbfab7
1 changed files with 1 additions and 2 deletions

View File

@ -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 */