diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-13 23:09:48 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:26 (GMT) |
commit | 16245b0440cdb586ffcc4d33e2fc749e27a7725d (patch) | |
tree | dd93de134dd98f2d8f3dc8805695f67a79ef7b8d /tools/src/h5diff | |
parent | 280329e192d9ec7008abda4471952f0eacfdce01 (diff) | |
download | hdf5-16245b0440cdb586ffcc4d33e2fc749e27a7725d.zip hdf5-16245b0440cdb586ffcc4d33e2fc749e27a7725d.tar.gz hdf5-16245b0440cdb586ffcc4d33e2fc749e27a7725d.tar.bz2 |
Update tools hid_t declarations with H5I_INVALID_HID
Diffstat (limited to 'tools/src/h5diff')
-rw-r--r-- | tools/src/h5diff/ph5diff_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/src/h5diff/ph5diff_main.c b/tools/src/h5diff/ph5diff_main.c index 380ab3b..5ba5fb3 100644 --- a/tools/src/h5diff/ph5diff_main.c +++ b/tools/src/h5diff/ph5diff_main.c @@ -126,7 +126,8 @@ int main(int argc, const char *argv[]) static void ph5diff_worker(int nID) { - hid_t file1_id = -1, file2_id = -1; + hid_t file1_id = H5I_INVALID_HID; + hid_t file2_id = H5I_INVALID_HID; while(1) { |