Module: wine Branch: master Commit: b021128c4b4ea0defc61ed252179b5e9e23d71de URL: http://source.winehq.org/git/wine.git/?a=commit;h=b021128c4b4ea0defc61ed2521...
Author: Gerald Pfeifer gerald@pfeifer.com Date: Sat May 1 01:11:36 2010 +0200
comctl32/tests: Remove variables cx and cy which are not really used from test_approximate_viewrect.
---
dlls/comctl32/tests/listview.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c index a5dae75..0910b59 100644 --- a/dlls/comctl32/tests/listview.c +++ b/dlls/comctl32/tests/listview.c @@ -4120,15 +4120,11 @@ static void test_approximate_viewrect(void) { HWND hwnd; DWORD ret; - INT cx, cy; HIMAGELIST himl; HBITMAP hbmp; LVITEMA itema; static CHAR test[] = "abracadabra, a very long item label";
- cx = GetSystemMetrics(SM_CXICONSPACING) - GetSystemMetrics(SM_CXICON); - cy = GetSystemMetrics(SM_CYICONSPACING) - GetSystemMetrics(SM_CYICON); - hwnd = create_listview_control(LVS_ICON); himl = ImageList_Create(40, 40, 0, 4, 4); ok(himl != NULL, "failed to create imagelist\n");