comctl32/tests: Remove variable hwndheader which is not really used from test_items. (try 2)

Gerald Pfeifer gerald at pfeifer.com
Sun May 2 18:48:00 CDT 2010


Thanks to Nikolay for catching a silly mistake of mine in the earlier
version of this patch.  This one fully passes testing on my FreeBSD 7.3
based tester (which only has an extra mmap patch, completely unrelated).

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

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 1c953ef..0910b59 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -1194,7 +1194,7 @@ static void test_items(void)
 
 static void test_columns(void)
 {
-    HWND hwnd, hwndheader;
+    HWND hwnd;
     LVCOLUMNA column;
     LVITEMA item;
     INT order[2];
@@ -1220,7 +1220,7 @@ static void test_columns(void)
 
     /* LVM_GETCOLUMNORDERARRAY */
     hwnd = create_listview_control(LVS_REPORT);
-    hwndheader = subclass_header(hwnd);
+    subclass_header(hwnd);
 
     memset(&column, 0, sizeof(column));
     column.mask = LVCF_WIDTH;
-- 
1.6.6.2



More information about the wine-patches mailing list