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

Alexandre Julliard julliard at winehq.org
Thu Feb 10 11:42:09 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb  9 13:43:54 2011 -0800

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

---

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

diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c
index 1cad29e..8f44a1d 100644
--- a/dlls/ntdll/tests/reg.c
+++ b/dlls/ntdll/tests/reg.c
@@ -637,6 +637,7 @@ static void test_NtDeleteKey(void)
 
     InitializeObjectAttributes(&attr, &winetestpath, 0, 0, 0);
     status = pNtOpenKey(&hkey, am, &attr);
+    ok(status == STATUS_SUCCESS, "NtOpenKey Failed: 0x%08x\n", status);
 
     status = pNtDeleteKey(hkey);
     ok(status == STATUS_SUCCESS, "NtDeleteKey Failed: 0x%08x\n", status);




More information about the wine-cvs mailing list