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/h5dump/h5dump_xml.c | |
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/h5dump/h5dump_xml.c')
-rw-r--r-- | tools/h5dump/h5dump_xml.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/h5dump/h5dump_xml.c b/tools/h5dump/h5dump_xml.c index e872114..5bc43eb 100644 --- a/tools/h5dump/h5dump_xml.c +++ b/tools/h5dump/h5dump_xml.c @@ -2968,9 +2968,9 @@ static int xml_print_refs(hid_t did, int source) { herr_t e; - hid_t type; - hid_t space; - hssize_t ssiz; + hid_t type = -1; + hid_t space = -1; + hssize_t ssiz = -1; hsize_t i; size_t tsiz; hobj_ref_t *refbuf = NULL; @@ -3125,11 +3125,11 @@ static int xml_print_strs(hid_t did, int source) { herr_t e; - hid_t type; - hid_t space; - hssize_t ssiz; + hid_t type = -1; + hid_t space = -1; + hssize_t ssiz = -1; htri_t is_vlstr = FALSE; - size_t tsiz; + size_t tsiz = 0; size_t i; size_t str_size = 0; char *bp = NULL; |