Module: wine Branch: master Commit: c6aa255fdff516117b8f4d80a49a34b8b244e69b URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6aa255fdff516117b8f4d80a4...
Author: Austin English austinenglish@gmail.com Date: Tue Feb 8 16:04:48 2011 -0800
urlmon/tests: Make sure return values are used (LLVM/Clang).
---
dlls/urlmon/tests/sec_mgr.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/tests/sec_mgr.c b/dlls/urlmon/tests/sec_mgr.c index b91f090..f50ca17 100644 --- a/dlls/urlmon/tests/sec_mgr.c +++ b/dlls/urlmon/tests/sec_mgr.c @@ -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;