advapi32/tests: Make sure to use return value (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-04 15:44:40 -08:00 committed by Alexandre Julliard
parent eadae86c85
commit 425e7ca15d
1 changed files with 1 additions and 0 deletions

View File

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