summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-09-26 22:47:00 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-09-27 02:13:35 (GMT)
commit4fb64c89fe52a309150ca2d5bb97eb4763e598e9 (patch)
treeaf158b041bcbb357aca65fc0d780d1ed727d3d04 /test
parentfbb0728f5423ba88de5a7bbe4f4d06825ed82aaa (diff)
downloadhdf5-4fb64c89fe52a309150ca2d5bb97eb4763e598e9.zip
hdf5-4fb64c89fe52a309150ca2d5bb97eb4763e598e9.tar.gz
hdf5-4fb64c89fe52a309150ca2d5bb97eb4763e598e9.tar.bz2
Converted H5O MD cache cork calls to use the VOL.
Diffstat (limited to 'test')
-rw-r--r--test/cork.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/cork.c b/test/cork.c
index 09076d2..06a520d 100644
--- a/test/cork.c
+++ b/test/cork.c
@@ -1529,11 +1529,13 @@ error:
static unsigned
test_objs_cork(hbool_t swmr, hbool_t new_format)
{
- hid_t fid; /* HDF5 File ID */
- hid_t fapl; /* File access property list */
- hid_t gid, did, tid; /* Object IDs */
- hid_t sid; /* Dataspace ID */
- hid_t aid; /* Attribute ID */
+ hid_t fid = H5I_INVALID_HID; /* HDF5 File ID */
+ hid_t fapl = H5I_INVALID_HID; /* File access property list */
+ hid_t gid = H5I_INVALID_HID;
+ hid_t did = H5I_INVALID_HID;
+ hid_t tid = H5I_INVALID_HID; /* Object IDs */
+ hid_t sid = H5I_INVALID_HID; /* Dataspace ID */
+ hid_t aid = H5I_INVALID_HID; /* Attribute ID */
hsize_t dims[RANK]; /* Dataset dimension sizes */
hbool_t corked; /* Cork status of an object */
unsigned flags; /* File access flags */