summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
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()