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

Alexandre Julliard julliard at winehq.org
Thu Feb 17 13:06:34 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb 16 17:22:28 2011 -0800

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

---

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

diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c
index 5bacb1b..e86208f 100644
--- a/dlls/advapi32/tests/service.c
+++ b/dlls/advapi32/tests/service.c
@@ -1561,6 +1561,7 @@ static void test_enum_svc(void)
     neededW = 0xdeadbeef;
     ret = pEnumServicesStatusExW(scm_handle, 0, SERVICE_WIN32, SERVICE_STATE_ALL,
                                  NULL, 0, &neededW, &returnedW, NULL, NULL);
+    ok(!ret, "Expected failure\n");
     ok(neededW == needed, "Expected needed buffersize to be the same for A- and W-calls\n");
 
     /* Store the needed bytes */




More information about the wine-cvs mailing list