advapi32/tests: Make sure to use return value (LLVM/Clang).
This commit is contained in:
parent
eadae86c85
commit
425e7ca15d
|
@ -1199,6 +1199,7 @@ static void test_reg_close_key(void)
|
|||
* hkHandle remains changed after call to RegCloseKey
|
||||
*/
|
||||
ret = RegOpenKeyA(HKEY_CURRENT_USER, "Software\\Wine\\Test", &hkHandle);
|
||||
ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret);
|
||||
ret = RegCloseKey(hkHandle);
|
||||
ok(ret == ERROR_SUCCESS, "expected ERROR_SUCCESS, got %d\n", ret);
|
||||
|
||||
|
|
Loading…
Reference in New Issue