mshtml/tests: make sure a return value is used (LLVM/Clang) (1/2)
Austin English
austinenglish at gmail.com
Thu Feb 10 15:27:19 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index 75be8ab..17d23c5 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -4014,6 +4014,7 @@ static void test_ClientSite(IOleObject *oleobj, DWORD flags)
if(flags & CLIENTSITE_SETNULL) {
hres = IOleObject_GetClientSite(oleobj, &clientsite);
+ ok(hres == S_OK, "SetClientSite failed: %08x\n", hres);
if(set_clientsite)
ok(clientsite == &ClientSite, "clientsite=%p, expected %p\n", clientsite, &ClientSite);
else
More information about the wine-patches
mailing list