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.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.c')
-rw-r--r-- | tools/lib/h5diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index 92d2769..d7fc991 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -510,8 +510,8 @@ h5diff(const char *fname1, const char *objname2, diff_opt_t *opts) { - hid_t file1_id = -1; - hid_t file2_id = -1; + hid_t file1_id = H5I_INVALID_HID; + hid_t file2_id = H5I_INVALID_HID; char filenames[2][MAX_FILENAME]; hsize_t nfound = 0; int l_ret1 = -1; |