diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-05-25 17:58:59 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-05-25 17:58:59 (GMT) |
commit | fe744bd8df1c0ce23c2631773a9463e781d84052 (patch) | |
tree | 3ce1e18ffc3555d0fe65118a56de19dd0d7fe774 /tools/h5dump/h5dump_xml.c | |
parent | 2f7d953a9d328862297be8c33ecdaaeadd14ae14 (diff) | |
download | hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.zip hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.tar.gz hdf5-fe744bd8df1c0ce23c2631773a9463e781d84052.tar.bz2 |
[svn-r22412] reduce compiler warnings by removing unreferenced variables and adding cast
Tested: local linux
Diffstat (limited to 'tools/h5dump/h5dump_xml.c')
-rw-r--r-- | tools/h5dump/h5dump_xml.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/h5dump/h5dump_xml.c b/tools/h5dump/h5dump_xml.c index 0c48216..1a29659 100644 --- a/tools/h5dump/h5dump_xml.c +++ b/tools/h5dump/h5dump_xml.c @@ -1781,7 +1781,6 @@ xml_dump_data(hid_t obj_id, int obj_data, struct subset_t UNUSED * sset, int UNU hsize_t nelmts = 1; int ndims; int i; - int depth; int status = -1; int stdindent = COL; /* should be 3 */ void *buf = NULL; @@ -2950,7 +2949,7 @@ xml_print_refs(hid_t did, int source) string_dataformat.do_escape = display_escape; outputformat = &string_dataformat; - for (i = 0; i < ssiz; i++) { + for (i = 0; i < (hsize_t)ssiz; i++) { const char *path = lookup_ref_path(*refbuf); ctx.indent_level++; |