comctl32/tests: Remove a set but unused variable.

Nicolas Le Cam niko.lecam at gmail.com
Sun May 1 20:43:12 CDT 2011


-- 
Nicolas Le Cam
-------------- next part --------------
From 7873225d8b099799c238a25763240b7a30d9b2c0 Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Sat, 30 Apr 2011 00:46:30 +0200
Subject: comctl32/tests: Remove a set but unused variable.

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

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index c2bf70b..35c7734 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -3023,7 +3023,7 @@ static void test_hittest(void)
     static CHAR text[] = "1234567890ABCDEFGHIJKLMNOPQRST";
     POINT pos;
     INT x, y, i;
-    WORD horiz, vert;
+    WORD vert;
     HIMAGELIST himl, himl2;
     HBITMAP hbmp;
 
@@ -3053,7 +3053,6 @@ static void test_hittest(void)
     ok(bounds.bottom - bounds.top > 0, "Expected non zero item height\n");
     ok(bounds.right - bounds.left > 0, "Expected non zero item width\n");
     r = SendMessage(hwnd, LVM_GETITEMSPACING, TRUE, 0);
-    horiz = LOWORD(r);
     vert = HIWORD(r);
     ok(bounds.bottom - bounds.top == vert,
         "Vertical spacing inconsistent (%d != %d)\n", bounds.bottom - bounds.top, vert);
-- 
1.7.5


More information about the wine-patches mailing list