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

Austin English austinenglish at gmail.com
Sat Feb 5 00:39:18 CST 2011


-- 
-Austin
-------------- next part --------------
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-patches mailing list