summaryrefslogtreecommitdiffstats
path: root/tools/src/h5stat
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-13 23:09:48 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:26 (GMT)
commit16245b0440cdb586ffcc4d33e2fc749e27a7725d (patch)
treedd93de134dd98f2d8f3dc8805695f67a79ef7b8d /tools/src/h5stat
parent280329e192d9ec7008abda4471952f0eacfdce01 (diff)
downloadhdf5-16245b0440cdb586ffcc4d33e2fc749e27a7725d.zip
hdf5-16245b0440cdb586ffcc4d33e2fc749e27a7725d.tar.gz
hdf5-16245b0440cdb586ffcc4d33e2fc749e27a7725d.tar.bz2
Update tools hid_t declarations with H5I_INVALID_HID
Diffstat (limited to 'tools/src/h5stat')
-rw-r--r--tools/src/h5stat/h5stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5stat/h5stat.c b/tools/src/h5stat/h5stat.c
index 9ce7327..f160671 100644
--- a/tools/src/h5stat/h5stat.c
+++ b/tools/src/h5stat/h5stat.c
@@ -1853,7 +1853,7 @@ main(int argc, const char *argv[])
{
iter_t iter;
const char *fname = NULL;
- hid_t fid = -1;
+ hid_t fid = H5I_INVALID_HID;
H5E_auto2_t func;
H5E_auto2_t tools_func;
void *edata;