ntdll/tests: make sure return value is used (LLVM/Clang)
Austin English
austinenglish at gmail.com
Wed Feb 9 15:43:54 CST 2011
--
-Austin
-------------- next part --------------
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-patches
mailing list