summaryrefslogtreecommitdiffstats
path: root/tools/h5stat
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-10-12 14:07:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-10-12 14:07:21 (GMT)
commite8409e6ff14824143456f51c5d4607775a6e16da (patch)
treeb1c45d0c8a7ab313afc768ce257ec50f9fe67063 /tools/h5stat
parent2f2bca0e937b027118c38ff9e590cf805ecf1774 (diff)
downloadhdf5-e8409e6ff14824143456f51c5d4607775a6e16da.zip
hdf5-e8409e6ff14824143456f51c5d4607775a6e16da.tar.gz
hdf5-e8409e6ff14824143456f51c5d4607775a6e16da.tar.bz2
[svn-r28036] Description:
Bring r27801 & r27809 from trunk to branch Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
Diffstat (limited to 'tools/h5stat')
-rw-r--r--tools/h5stat/h5stat_gentest.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/h5stat/h5stat_gentest.c b/tools/h5stat/h5stat_gentest.c
index d78a5e5..b91f52e 100644
--- a/tools/h5stat/h5stat_gentest.c
+++ b/tools/h5stat/h5stat_gentest.c
@@ -52,14 +52,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 */