diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2023-09-08 23:06:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 23:06:23 (GMT) |
commit | 117d579c326f64d09d71e28cb0135bbd16a5232e (patch) | |
tree | 384ac7e1e3b9881e6d6ab783ee0391ab7adc1f29 /test/mdset.c | |
parent | 2345f901b26277f643dd91a528e4da975f4e75c1 (diff) | |
download | hdf5-117d579c326f64d09d71e28cb0135bbd16a5232e.zip hdf5-117d579c326f64d09d71e28cb0135bbd16a5232e.tar.gz hdf5-117d579c326f64d09d71e28cb0135bbd16a5232e.tar.bz2 |
Consistent initialization of hid_t in the tests (#3521)
Diffstat (limited to 'test/mdset.c')
-rw-r--r-- | test/mdset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mdset.c b/test/mdset.c index 0d2776d..013eb77 100644 --- a/test/mdset.c +++ b/test/mdset.c @@ -183,7 +183,7 @@ test_mdset(size_t niter, unsigned flags, hid_t fapl_id) size_t max_dsets; size_t buf_size; size_t ndsets; - hid_t file_id = -1; + hid_t file_id = H5I_INVALID_HID; hid_t dcpl_id[MAX_DSETS]; hsize_t dset_dims[MAX_DSETS][3]; hsize_t chunk_dims[2]; |