Minor fix for duplicated H5Pclose() call in C++ tests.

This commit is contained in:
Dana Robinson 2017-02-23 12:07:44 -05:00
parent a247e33678
commit dca632bd96

View File

@ -410,10 +410,9 @@ static void test_file_size()
}
// use C test utility routine to close property list.
H5Pclose(fapl_id);
herr_t ret = H5Pclose(fapl_id);
if (ret < 0)
issue_fail_msg("test_file_size()", __LINE__, __FILE__, "H5Pclose failed");
issue_fail_msg("test_file_size()", __LINE__, __FILE__, "H5Pclose failed");
} // test_file_size()