diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:58 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:24 (GMT) |
commit | 9d8fb46a2c50118ee5162e2437d55bef100da20d (patch) | |
tree | a5cd736b43628131503daa906f7c054443eab911 /test/tsohm.c | |
parent | f2028c7568c2ad8ef91bc78cc8dac9b2d8c8eb1d (diff) | |
download | hdf5-9d8fb46a2c50118ee5162e2437d55bef100da20d.zip hdf5-9d8fb46a2c50118ee5162e2437d55bef100da20d.tar.gz hdf5-9d8fb46a2c50118ee5162e2437d55bef100da20d.tar.bz2 |
Revert "fix issues from previous PR comments"
This reverts commit d242a900f420b040e364f6c0976c01593e955db3.
Diffstat (limited to 'test/tsohm.c')
-rw-r--r-- | test/tsohm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tsohm.c b/test/tsohm.c index c126608..0fc273b 100644 --- a/test/tsohm.c +++ b/test/tsohm.c @@ -3342,11 +3342,11 @@ test_sohm_extlink(void) static int verify_dataset_extension(hid_t fcpl_id, hbool_t close_reopen) { - hid_t file_id = H5I_INVALID_HID; - hid_t orig_space_id = H5I_INVALID_HID; + hid_t file_id = -1; + hid_t orig_space_id = -1; hid_t space1_id, space2_id, space3_id; - hid_t dcpl_id = H5I_INVALID_HID; - hid_t dset1_id, dset2_id = H5I_INVALID_HID, dset3_id = H5I_INVALID_HID; + hid_t dcpl_id = -1; + hid_t dset1_id, dset2_id = -1, dset3_id = -1; hsize_t dims1[] = {1, 2}; hsize_t max_dims[] = {H5S_UNLIMITED, 2}; hsize_t dims2[] = {5, 2}; |