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

Alexandre Julliard julliard at winehq.org
Fri Feb 11 11:16:35 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 13:27:48 2011 -0800

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

---

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

diff --git a/dlls/ntdll/tests/env.c b/dlls/ntdll/tests/env.c
index 8289841..6bd1530 100644
--- a/dlls/ntdll/tests/env.c
+++ b/dlls/ntdll/tests/env.c
@@ -244,6 +244,7 @@ static void testExpand(void)
         us_dst.Buffer = NULL;
 
         nts = pRtlExpandEnvironmentStrings_U(small_env, &us_src, &us_dst, &ul);
+        ok(nts == STATUS_BUFFER_TOO_SMALL, "Call failed (%u)\n", nts);
         ok(ul == strlen(test->dst) * sizeof(WCHAR) + sizeof(WCHAR), 
            "Wrong  returned length for %s: %u\n", test->src, ul );
 




More information about the wine-cvs mailing list