diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-20 19:47:20 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-01-20 19:47:47 (GMT) |
commit | 0ccccc43c7745c2a062bf98bda19ffae47aca30f (patch) | |
tree | f9b2c743f73027d8668ea6ee8f28ee781c73a4d2 /tools/src | |
parent | 123a631c3a29f6940b574a7e162e07ae05d93122 (diff) | |
download | hdf5-0ccccc43c7745c2a062bf98bda19ffae47aca30f.zip hdf5-0ccccc43c7745c2a062bf98bda19ffae47aca30f.tar.gz hdf5-0ccccc43c7745c2a062bf98bda19ffae47aca30f.tar.bz2 |
tools perform and hid_t init settings
Diffstat (limited to 'tools/src')
-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) { |