summaryrefslogtreecommitdiffstats
path: root/tools/src/h5format_convert
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-02-11 20:28:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-02-11 20:28:56 (GMT)
commit4ec2df9ac08f0c28eb32211c3cb0139a73f82981 (patch)
tree5fd3daa9f8168cfb46902bd62ad070c6639796de /tools/src/h5format_convert
parentbd5d6e4e772fe557ab52f881df17f73a4028184b (diff)
downloadhdf5-4ec2df9ac08f0c28eb32211c3cb0139a73f82981.zip
hdf5-4ec2df9ac08f0c28eb32211c3cb0139a73f82981.tar.gz
hdf5-4ec2df9ac08f0c28eb32211c3cb0139a73f82981.tar.bz2
Merge from dev, sanitizer, fortran, warnings and tools ids
Diffstat (limited to 'tools/src/h5format_convert')
-rw-r--r--tools/src/h5format_convert/h5format_convert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5format_convert/h5format_convert.c b/tools/src/h5format_convert/h5format_convert.c
index 257a047..f5234f4 100644
--- a/tools/src/h5format_convert/h5format_convert.c
+++ b/tools/src/h5format_convert/h5format_convert.c
@@ -219,8 +219,8 @@ leave(int ret)
static int
convert(hid_t fid, const char *dname)
{
- hid_t dcpl = -1;
- hid_t did = -1;
+ hid_t dcpl = H5I_INVALID_HID;
+ hid_t did = H5I_INVALID_HID;
H5D_layout_t layout_type;
H5D_chunk_index_t idx_type;
@@ -399,7 +399,7 @@ main(int argc, const char *argv[])
{
H5E_auto2_t func;
void *edata;
- hid_t fid = -1;
+ hid_t fid = H5I_INVALID_HID;
h5tools_setprogname(PROGRAMNAME);
h5tools_setstatus(EXIT_SUCCESS);