summaryrefslogtreecommitdiffstats
path: root/test/cork.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-10-02 14:22:11 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-10-02 14:22:11 (GMT)
commitb6f9fcaec52bf4f69616e99c4b92ac89c72a58fb (patch)
tree59f32c253b359a41313beb22c574b4c8d459e902 /test/cork.c
parent3ad1014b07acd92d8b25aef4e28d150ec7d36745 (diff)
downloadhdf5-b6f9fcaec52bf4f69616e99c4b92ac89c72a58fb.zip
hdf5-b6f9fcaec52bf4f69616e99c4b92ac89c72a58fb.tar.gz
hdf5-b6f9fcaec52bf4f69616e99c4b92ac89c72a58fb.tar.bz2
Cleanup whitespace and comments compared to develop
Diffstat (limited to 'test/cork.c')
-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 */