wintrust/tests: Make sure return values are used (LLVM/Clang).
This commit is contained in:
parent
2951007d18
commit
0fed8b0fe2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue