user32: remove a unused variable from ES_PASSWORD test

Lei Zhang thestig at google.com
Thu Jun 14 13:26:52 CDT 2007


Hi,

I accidentally let a unused variable slip in to the ES_PASSWORD test I
wrote yesteday. Whoop.
-------------- next part --------------
From 27aa72c8c3d9734baeda5550a6e04ba7b16d4a09 Mon Sep 17 00:00:00 2001
From: Lei Zhang <thestig at google.com>
Date: Thu, 14 Jun 2007 11:25:17 -0700
Subject: [PATCH] user32: remove a unused variable from ES_PASSWORD test
---
 dlls/user32/tests/edit.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c
index 2bdf0ed..a4f7be7 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -1006,13 +1006,10 @@ static void test_text_position(void)
 static void test_espassword(void)
 {
     HWND hwEdit;
-    MSG msMessage;
     LONG r;
     char buffer[1024];
     const char* password = "secret";
 
-    msMessage.message = WM_KEYDOWN;
-
     hwEdit = create_editcontrol(ES_PASSWORD, 0);
     r = get_edit_style(hwEdit);
     ok(r == ES_PASSWORD, "Wrong style expected 0x%x got: 0x%x\n", ES_PASSWORD, r);
-- 
1.4.1


More information about the wine-patches mailing list