summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-09-16 15:23:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-09-16 15:23:16 (GMT)
commitd90e4acfa7b0d1be202d56441e9912417147af26 (patch)
tree82b9d8588618c73b993520a0a888988bd2b9ce7b /tools/h5repack
parent2385b2b0ad832825bd9009237149e1581326c044 (diff)
downloadhdf5-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/h5repack')
-rw-r--r--tools/h5repack/h5repack_verify.c16
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 */