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

This commit is contained in:
Austin English 2011-02-04 00:46:13 -08:00 committed by Alexandre Julliard
parent 2951007d18
commit 0fed8b0fe2
1 changed files with 1 additions and 0 deletions

View File

@ -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);