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

Austin English austinenglish at gmail.com
Thu Feb 10 17:15:54 CST 2011


https://testbot.winehq.org/JobDetails.pl?Key=9164

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index c88c8e4..68345f1 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -9182,6 +9182,7 @@ static void test_IUriBuilder_RemoveProperties(void) {
                         BSTR received = NULL;
 
                         hr = IUri_GetAbsoluteUri(result, &received);
+                        ok(hr == S_OK, "Error: Expected S_OK, but got 0x%08x instead.\n", hr);
                         ok(!strcmp_aw(test.expected_uri, received),
                             "Error: Expected %s but got %s instead on test %d.\n",
                             test.expected_uri, wine_dbgstr_w(received), i);


More information about the wine-patches mailing list