summaryrefslogtreecommitdiffstats
path: root/tools/src/h5copy
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/h5copy
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/h5copy')
-rw-r--r--tools/src/h5copy/h5copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5copy/h5copy.c b/tools/src/h5copy/h5copy.c
index 86bd6f6..e1370e2 100644
--- a/tools/src/h5copy/h5copy.c
+++ b/tools/src/h5copy/h5copy.c
@@ -211,8 +211,8 @@ main (int argc, const char *argv[])
H5E_auto2_t tools_func;
void *edata;
void *tools_edata;
- hid_t fid_src = -1;
- hid_t fid_dst = -1;
+ hid_t fid_src = H5I_INVALID_HID;
+ hid_t fid_dst = H5I_INVALID_HID;
unsigned flag = 0;
unsigned verbose = 0;
unsigned parents = 0;