urlmon/tests: Make sure return values are used (LLVM/Clang).
This commit is contained in:
parent
78470d7056
commit
c6aa255fdf
|
@ -482,6 +482,7 @@ static void test_CoInternetCreateZoneManager(void)
|
||||||
IUnknown_Release(punk);
|
IUnknown_Release(punk);
|
||||||
|
|
||||||
hr = IInternetZoneManager_QueryInterface(zonemgr, &IID_IInternetZoneManagerEx2, (void **) &punk);
|
hr = IInternetZoneManager_QueryInterface(zonemgr, &IID_IInternetZoneManagerEx2, (void **) &punk);
|
||||||
|
ok(hr == S_OK, "got 0x%x (expected S_OK)\n", hr);
|
||||||
if (punk)
|
if (punk)
|
||||||
IUnknown_Release(punk);
|
IUnknown_Release(punk);
|
||||||
else
|
else
|
||||||
|
@ -631,7 +632,7 @@ static void test_GetZoneAt(void)
|
||||||
|
|
||||||
if (0) {
|
if (0) {
|
||||||
/* this crashes with native urlmon */
|
/* this crashes with native urlmon */
|
||||||
hr = IInternetZoneManager_GetZoneAt(zonemgr, dwEnum, 0, NULL);
|
IInternetZoneManager_GetZoneAt(zonemgr, dwEnum, 0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
dwZone = 0xdeadbeef;
|
dwZone = 0xdeadbeef;
|
||||||
|
|
Loading…
Reference in New Issue