Commit 0fed8b0f authored by Austin English's avatar Austin English Committed by Alexandre Julliard

wintrust/tests: Make sure return values are used (LLVM/Clang).

parent 2951007d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment