Commit c6aa255f authored by Austin English's avatar Austin English Committed by Alexandre Julliard

urlmon/tests: Make sure return values are used (LLVM/Clang).

parent 78470d70
......@@ -482,6 +482,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
......@@ -631,7 +632,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment