urlmon/tests: make sure return values are used (LLVM/Clang)
Austin English
austinenglish at gmail.com
Tue Feb 8 18:04:48 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/urlmon/tests/sec_mgr.c b/dlls/urlmon/tests/sec_mgr.c
index d5e7426..50e3e10 100644
--- a/dlls/urlmon/tests/sec_mgr.c
+++ b/dlls/urlmon/tests/sec_mgr.c
@@ -455,6 +455,7 @@ static void test_CoInternetCreateZoneManager(void)
IUnknown_Release(punk);
hr = IInternetZoneManager_QueryInterface(zonemgr, &IID_IInternetZoneManagerEx2, (void **) &punk);
+ ok(hr == S_OK, "got 0x%x (expected S_OK)\n", hr);
if (punk)
IUnknown_Release(punk);
else
@@ -598,7 +599,7 @@ static void test_GetZoneAt(void)
if (0) {
/* this crashes with native urlmon */
- hr = IInternetZoneManager_GetZoneAt(zonemgr, dwEnum, 0, NULL);
+ IInternetZoneManager_GetZoneAt(zonemgr, dwEnum, 0, NULL);
}
dwZone = 0xdeadbeef;
More information about the wine-patches
mailing list