diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-02-23 17:07:44 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-02-23 17:07:44 (GMT) |
commit | dca632bd960c74d964d895ba5c0b54d6966bcef3 (patch) | |
tree | 39d26b0fdbad5b236f11513513e3dd8b9dd6ccf7 | |
parent | a247e3367847567de1b605bfb63e19e06ee582e9 (diff) | |
download | hdf5-dca632bd960c74d964d895ba5c0b54d6966bcef3.zip hdf5-dca632bd960c74d964d895ba5c0b54d6966bcef3.tar.gz hdf5-dca632bd960c74d964d895ba5c0b54d6966bcef3.tar.bz2 |
Minor fix for duplicated H5Pclose() call in C++ tests.
-rw-r--r-- | c++/test/tfile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp index f836ac0..920e3a7 100644 --- a/c++/test/tfile.cpp +++ b/c++/test/tfile.cpp @@ -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() |