wintrust/tests: make sure return values are used (LLVM/Clang) (resend)

Austin English austinenglish at gmail.com
Fri Feb 4 02:46:13 CST 2011


Without copy/paste errors :-).

-- 
-Austin
-------------- next part --------------
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-patches mailing list