diff options
author | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:58 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2019-11-26 23:23:58 (GMT) |
commit | 2bb0f52edfdd0ce11595ee673a934f306ca5c4fa (patch) | |
tree | 9be4fa9e5b48e88f993723daf1b13ebd03219f66 /test/tsohm.c | |
parent | 4c8a2f726a2eb47a937430e28994db8be1b87b00 (diff) | |
download | hdf5-2bb0f52edfdd0ce11595ee673a934f306ca5c4fa.zip hdf5-2bb0f52edfdd0ce11595ee673a934f306ca5c4fa.tar.gz hdf5-2bb0f52edfdd0ce11595ee673a934f306ca5c4fa.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}; |