Austin English : mshtml/tests: Make sure a return value is used (LLVM/Clang ).

Alexandre Julliard julliard at winehq.org
Mon Feb 14 10:02:05 CST 2011


Module: wine
Branch: master
Commit: 746e8b237ed86ae5293c29722a254af8d557d88f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=746e8b237ed86ae5293c29722a254af8d557d88f

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 13:27:19 2011 -0800

mshtml/tests: Make sure a return value is used (LLVM/Clang).

---

 dlls/mshtml/tests/htmldoc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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-cvs mailing list