diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-13 23:09:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-01-13 23:10:09 (GMT) |
commit | 341600b4a68dc9dbf11e1c43c3ff2746c200bd2c (patch) | |
tree | b8c1644d019ab10eb862fe477fe09f8c3db9b027 /tools/lib/h5diff_dset.c | |
parent | c3c60dc7b5d5104475748f9967135903e3974cc3 (diff) | |
download | hdf5-341600b4a68dc9dbf11e1c43c3ff2746c200bd2c.zip hdf5-341600b4a68dc9dbf11e1c43c3ff2746c200bd2c.tar.gz hdf5-341600b4a68dc9dbf11e1c43c3ff2746c200bd2c.tar.bz2 |
Update tools hid_t declarations with H5I_INVALID_HID
Diffstat (limited to 'tools/lib/h5diff_dset.c')
-rw-r--r-- | tools/lib/h5diff_dset.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c index 8a6eeeb..f757f92 100644 --- a/tools/lib/h5diff_dset.c +++ b/tools/lib/h5diff_dset.c @@ -34,10 +34,10 @@ hsize_t diff_dataset(hid_t file1_id, diff_opt_t *opts) { int status = -1; - hid_t did1 = -1; - hid_t did2 = -1; - hid_t dcpl1 = -1; - hid_t dcpl2 = -1; + hid_t did1 = H5I_INVALID_HID; + hid_t did2 = H5I_INVALID_HID; + hid_t dcpl1 = H5I_INVALID_HID; + hid_t dcpl2 = H5I_INVALID_HID; hsize_t nfound = 0; diff_err_t ret_value = opts->err_stat; @@ -814,8 +814,8 @@ int diff_can_type(hid_t f_tid1, /* file data type */ int nmembs1; int nmembs2; int j; - hid_t memb_type1 = -1; - hid_t memb_type2 = -1; + hid_t memb_type1 = H5I_INVALID_HID; + hid_t memb_type2 = H5I_INVALID_HID; H5TOOLS_DEBUG("diff_can_type end - H5T_COMPOUND"); nmembs1 = H5Tget_nmembers(f_tid1); |