diff options
author | Vailin Choi <vchoi@jam.ad.hdfgroup.org> | 2018-07-12 23:25:49 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2018-07-26 22:18:13 (GMT) |
commit | c3f4af256a51e4ba70a984c32cf0f5e68a665a61 (patch) | |
tree | a2a9f4e34960213d889f25a6302ae1e3449ffa8b /tools/test/h5dump/h5dumpgentest.c | |
parent | 076b77891a79702ed2c094364d42c86585f712a1 (diff) | |
download | hdf5-c3f4af256a51e4ba70a984c32cf0f5e68a665a61.zip hdf5-c3f4af256a51e4ba70a984c32cf0f5e68a665a61.tar.gz hdf5-c3f4af256a51e4ba70a984c32cf0f5e68a665a61.tar.bz2 |
Changes based on feedback from pull request.
Diffstat (limited to 'tools/test/h5dump/h5dumpgentest.c')
-rw-r--r-- | tools/test/h5dump/h5dumpgentest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5dump/h5dumpgentest.c b/tools/test/h5dump/h5dumpgentest.c index f34d479..9e9f6f1 100644 --- a/tools/test/h5dump/h5dumpgentest.c +++ b/tools/test/h5dump/h5dumpgentest.c @@ -10494,8 +10494,8 @@ gent_err_attr_dspace() { hid_t fid = -1; /* File identifier */ hid_t fcpl = -1; /* File access property list */ - hid_t sid; /* Dataspace identifier */ - hid_t aid; /* Attribute identifier */ + hid_t sid = -1; /* Dataspace identifier */ + hid_t aid = -1; /* Attribute identifier */ hsize_t dims = 2; /* Dimensino size */ int wdata[2] = {7, 42}; /* The buffer to write */ int fd = -1; /* The file descriptor */ |