aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-05 12:01:40 +0100
committerRoland Haas <rhaas@tapir.caltech.edu>2013-11-05 13:24:45 -0800
commit52d01b54ee0a65c04eab2961a96c4c446b323b68 (patch)
tree3c04bf1edb44fe21e861ebee6cdadc683b9578de /Carpet
parent15fc3538a066846c30b0525103af56c3d87a4d95 (diff)
CarpetIOHDF5: remove a superfluous H5Pclose call.
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetIOHDF5/src/Output.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/Carpet/CarpetIOHDF5/src/Output.cc b/Carpet/CarpetIOHDF5/src/Output.cc
index 24b5cf7a0..8fea6985f 100644
--- a/Carpet/CarpetIOHDF5/src/Output.cc
+++ b/Carpet/CarpetIOHDF5/src/Output.cc
@@ -136,7 +136,6 @@ int WriteVarUnchunked (const cGH* const cctkGH,
// than recombining an HDF5 dataset on a disk file.
HDF5_ERROR (memfile = H5Fcreate ("tempfile", H5F_ACC_EXCL, H5P_DEFAULT,
plist));
- HDF5_ERROR (H5Pclose (plist));
HDF5_ERROR (dataspace = H5Screate_simple (group.dim, shape, NULL));
HDF5_ERROR (memdataset = H5Dcreate (memfile, datasetname.str().c_str(),
filedatatype, dataspace, H5P_DEFAULT));