Nicolas Le Cam : comctl32/tests: Remove a set but unused variable.
Module: wine Branch: master Commit: 401961f8fb69859f03a38ed40aa47c3d0fe93cfd URL: http://source.winehq.org/git/wine.git/?a=commit;h=401961f8fb69859f03a38ed40a... Author: Nicolas Le Cam <niko.lecam(a)gmail.com> Date: Sat Apr 30 00:46:30 2011 +0200 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);
participants (1)
-
Alexandre Julliard