summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-02-23 17:07:44 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-02-23 17:07:44 (GMT)
commitdca632bd960c74d964d895ba5c0b54d6966bcef3 (patch)
tree39d26b0fdbad5b236f11513513e3dd8b9dd6ccf7
parenta247e3367847567de1b605bfb63e19e06ee582e9 (diff)
downloadhdf5-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.cpp3
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()