diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-09-16 15:23:16 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-09-16 15:23:16 (GMT) |
commit | d90e4acfa7b0d1be202d56441e9912417147af26 (patch) | |
tree | 82b9d8588618c73b993520a0a888988bd2b9ce7b /tools/h5stat | |
parent | 2385b2b0ad832825bd9009237149e1581326c044 (diff) | |
download | hdf5-d90e4acfa7b0d1be202d56441e9912417147af26.zip hdf5-d90e4acfa7b0d1be202d56441e9912417147af26.tar.gz hdf5-d90e4acfa7b0d1be202d56441e9912417147af26.tar.bz2 |
[svn-r27801] Minor warning fixes in the tools.
Tested on: jam (too minor for h5committest)
Diffstat (limited to 'tools/h5stat')
-rw-r--r-- | tools/h5stat/h5stat_gentest.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/h5stat/h5stat_gentest.c b/tools/h5stat/h5stat_gentest.c index 5ad73f7..100f5b2 100644 --- a/tools/h5stat/h5stat_gentest.c +++ b/tools/h5stat/h5stat_gentest.c @@ -48,14 +48,14 @@ static void gen_newgrat_file(const char *fname) { - hid_t fcpl; /* File creation property */ - hid_t fapl; /* File access property */ - hid_t fid; /* File id */ - hid_t gid; /* Group id */ - hid_t tid; /* Datatype id */ - hid_t sid; /* Dataspace id */ - hid_t attr_id; /* Attribute id */ - hid_t did; /* Dataset id */ + hid_t fcpl = -1; /* File creation property */ + hid_t fapl = -1; /* File access property */ + hid_t fid = -1; /* File id */ + hid_t gid = -1; /* Group id */ + hid_t tid = -1; /* Datatype id */ + hid_t sid = -1; /* Dataspace id */ + hid_t attr_id = -1; /* Attribute id */ + hid_t did = -1; /* Dataset id */ char name[30]; /* Group name */ char attrname[30]; /* Attribute name */ int i; /* Local index variable */ |