diff --git a/modules/rostests/apitests/browseui/IAutoComplete.cpp b/modules/rostests/apitests/browseui/IAutoComplete.cpp index 6afff3d181b..16ffb54e1c5 100644 --- a/modules/rostests/apitests/browseui/IAutoComplete.cpp +++ b/modules/rostests/apitests/browseui/IAutoComplete.cpp @@ -449,7 +449,7 @@ DoTestCaseA(INT x, INT y, INT cx, INT cy, LPCWSTR pszInput, (WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | LVS_NOCOLUMNHEADER | \ LVS_OWNERDATA | LVS_OWNERDRAWFIXED | LVS_SINGLESEL | LVS_REPORT) // 0x54005405 if (bLong) - ok(style == LIST_STYLE_1, "style was 0x%08lx\n", style); + (void)0; // ok(style == LIST_STYLE_1, "style was 0x%08lx\n", style); broken on Windows else ok(style == LIST_STYLE_2, "style was 0x%08lx\n", style); ok_long(exstyle, 0); @@ -493,7 +493,7 @@ DoTestCaseA(INT x, INT y, INT cx, INT cy, LPCWSTR pszInput, // check item count INT nListCount = ListView_GetItemCount(hwndList); if (nListCount < 1000) - ok_int(nListCount, nCount); + (void)0; // ok_int(nListCount, nCount); broken on Windows else ok_int(nListCount, 1000);