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

Alexandre Julliard julliard at winehq.org
Wed Feb 9 15:30:13 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Feb  8 16:05:28 2011 -0800

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

---

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

diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index 37d71b8..def1367 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -871,6 +871,7 @@ static void test_secure_connection(void)
     {
         size = 0;
         ret = WinHttpReadData(req, buffer, sizeof(buffer), &size);
+        ok(ret == TRUE, "WinHttpReadData failed: %u.\n", GetLastError());
         if (!size) break;
     }
 




More information about the wine-cvs mailing list