Austin English : shdocvw/tests: Make sure to use return value (LLVM/Clang).

Alexandre Julliard julliard at winehq.org
Mon Feb 7 16:06:37 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Fri Feb  4 22:39:18 2011 -0800

shdocvw/tests: Make sure to use return value (LLVM/Clang).

---

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

diff --git a/dlls/shdocvw/tests/intshcut.c b/dlls/shdocvw/tests/intshcut.c
index 0b90cf7..e8afb74 100644
--- a/dlls/shdocvw/tests/intshcut.c
+++ b/dlls/shdocvw/tests/intshcut.c
@@ -257,6 +257,7 @@ static void test_ReadAndWriteProperties(void)
 
 
         hr = urlAFromFile->lpVtbl->GetURL(urlAFromFile, &url);
+        ok(hr == S_OK, "Unable to get url from file, hr=0x%x\n", hr);
         ok(lstrcmp(url, testurl) == 0, "Wrong url read from file: %s\n",url);
 
 




More information about the wine-cvs mailing list