comctl32/tests: Remove a set but unused variable.
This commit is contained in:
parent
5c29f78e6c
commit
401961f8fb
|
@ -3023,7 +3023,7 @@ static void test_hittest(void)
|
||||||
static CHAR text[] = "1234567890ABCDEFGHIJKLMNOPQRST";
|
static CHAR text[] = "1234567890ABCDEFGHIJKLMNOPQRST";
|
||||||
POINT pos;
|
POINT pos;
|
||||||
INT x, y, i;
|
INT x, y, i;
|
||||||
WORD horiz, vert;
|
WORD vert;
|
||||||
HIMAGELIST himl, himl2;
|
HIMAGELIST himl, himl2;
|
||||||
HBITMAP hbmp;
|
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.bottom - bounds.top > 0, "Expected non zero item height\n");
|
||||||
ok(bounds.right - bounds.left > 0, "Expected non zero item width\n");
|
ok(bounds.right - bounds.left > 0, "Expected non zero item width\n");
|
||||||
r = SendMessage(hwnd, LVM_GETITEMSPACING, TRUE, 0);
|
r = SendMessage(hwnd, LVM_GETITEMSPACING, TRUE, 0);
|
||||||
horiz = LOWORD(r);
|
|
||||||
vert = HIWORD(r);
|
vert = HIWORD(r);
|
||||||
ok(bounds.bottom - bounds.top == vert,
|
ok(bounds.bottom - bounds.top == vert,
|
||||||
"Vertical spacing inconsistent (%d != %d)\n", bounds.bottom - bounds.top, vert);
|
"Vertical spacing inconsistent (%d != %d)\n", bounds.bottom - bounds.top, vert);
|
||||||
|
|
Loading…
Reference in New Issue