summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-02-23 20:51:27 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-02-23 20:51:27 (GMT)
commited4fa57298e50f4817d5350598cbb0c04bcefdf6 (patch)
tree5bda4ff8f525bd81e2f7ace4cce6cc61eb2d3a2d /c++
parent42bbd8b6b05a6a1374f97de5050403a0a0eede12 (diff)
parentd2692f782a1ce660a855b2459e187e3e9425002d (diff)
downloadhdf5-ed4fa57298e50f4817d5350598cbb0c04bcefdf6.zip
hdf5-ed4fa57298e50f4817d5350598cbb0c04bcefdf6.tar.gz
hdf5-ed4fa57298e50f4817d5350598cbb0c04bcefdf6.tar.bz2
Merge pull request #309 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'd2692f782a1ce660a855b2459e187e3e9425002d': Minor fix for duplicated H5Pclose() call in C++ tests.
Diffstat (limited to 'c++')
-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()