summaryrefslogtreecommitdiffstats
path: root/test/istore.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2023-09-08 23:06:23 (GMT)
committerGitHub <noreply@github.com>2023-09-08 23:06:23 (GMT)
commit117d579c326f64d09d71e28cb0135bbd16a5232e (patch)
tree384ac7e1e3b9881e6d6ab783ee0391ab7adc1f29 /test/istore.c
parent2345f901b26277f643dd91a528e4da975f4e75c1 (diff)
downloadhdf5-117d579c326f64d09d71e28cb0135bbd16a5232e.zip
hdf5-117d579c326f64d09d71e28cb0135bbd16a5232e.tar.gz
hdf5-117d579c326f64d09d71e28cb0135bbd16a5232e.tar.bz2
Consistent initialization of hid_t in the tests (#3521)
Diffstat (limited to 'test/istore.c')
-rw-r--r--test/istore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/istore.c b/test/istore.c
index 8dcc205..323b7d7 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -543,7 +543,7 @@ error:
int
main(int argc, char *argv[])
{
- hid_t fapl = -1, file = -1, fcpl = -1;
+ hid_t fapl = H5I_INVALID_HID, file = H5I_INVALID_HID, fcpl = H5I_INVALID_HID;
herr_t status;
int nerrors = 0;
unsigned size_of_test;