diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-12 14:07:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2015-10-12 14:07:21 (GMT) |
commit | e8409e6ff14824143456f51c5d4607775a6e16da (patch) | |
tree | b1c45d0c8a7ab313afc768ce257ec50f9fe67063 /tools/h5repack | |
parent | 2f2bca0e937b027118c38ff9e590cf805ecf1774 (diff) | |
download | hdf5-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/h5repack')
-rw-r--r-- | tools/h5repack/h5repack_verify.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/h5repack/h5repack_verify.c b/tools/h5repack/h5repack_verify.c index 42799f9..52423f1 100644 --- a/tools/h5repack/h5repack_verify.c +++ b/tools/h5repack/h5repack_verify.c @@ -51,17 +51,17 @@ static int verify_filters(hid_t pid, hid_t tid, int nfilters, filter_info_t *fil int h5repack_verify(const char *in_fname, const char *out_fname, pack_opt_t *options) { - hid_t fidin; /* file ID for input file*/ - hid_t fidout; /* file ID for output file*/ - hid_t did; /* dataset ID */ - hid_t pid; /* dataset creation property list ID */ - hid_t sid; /* space ID */ - hid_t tid; /* type ID */ + hid_t fidin = -1; /* file ID for input file*/ + hid_t fidout = -1; /* file ID for output file*/ + hid_t did = -1; /* dataset ID */ + hid_t pid = -1; /* dataset creation property list ID */ + hid_t sid = -1; /* space ID */ + hid_t tid = -1; /* type ID */ unsigned int i; trav_table_t *travt = NULL; int ok = 1; - hid_t fcpl_in; /* file creation property for input file */ - hid_t fcpl_out; /* file creation property for output file */ + hid_t fcpl_in = -1; /* file creation property for input file */ + hid_t fcpl_out = -1; /* file creation property for output file */ H5F_file_space_type_t in_strat, out_strat; /* file space handling strategy for in/output file */ hsize_t in_thresh, out_thresh; /* free space section threshold for in/output file */ |