Austin English : wintrust/tests: Make sure return values are used (LLVM/ Clang).
Alexandre Julliard
julliard at winehq.org
Fri Feb 4 09:37:16 CST 2011
Module: wine
Branch: master
Commit: 0fed8b0fe2b54add259178186fe2c8954269f398
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0fed8b0fe2b54add259178186fe2c8954269f398
Author: Austin English <austinenglish at gmail.com>
Date: Fri Feb 4 00:46:13 2011 -0800
wintrust/tests: Make sure return values are used (LLVM/Clang).
---
dlls/wintrust/tests/register.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wintrust/tests/register.c b/dlls/wintrust/tests/register.c
index dd266bd..42c5de6 100644
--- a/dlls/wintrust/tests/register.c
+++ b/dlls/wintrust/tests/register.c
@@ -299,6 +299,7 @@ static void test_RegPolicyFlags(void)
ok(ret, "WintrustSetRegPolicyFlags failed: %d\n", GetLastError());
size = sizeof(flags1);
r = RegQueryValueExA(key, State, NULL, NULL, (LPBYTE)&flags1, &size);
+ ok(!r, "RegQueryValueEx failed: %d\n", r);
ok(flags1 == flags3, "Got %08x flags instead of %08x\n", flags1, flags3);
pWintrustSetRegPolicyFlags(flags2);
More information about the wine-cvs
mailing list