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

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


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 15:15:54 2011 -0800

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

---

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

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