diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-06 19:55:34 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-06 19:55:34 (GMT) |
commit | fce2a31dc5f44f821dd4587f530ef18ce9e424de (patch) | |
tree | f1ef237f3f447ebe0c4b1b69e9eee63e68e1aa0d /tools/lib | |
parent | 52c9749d6f6f1d6704fc78373e83bcb8c1abac1e (diff) | |
download | hdf5-fce2a31dc5f44f821dd4587f530ef18ce9e424de.zip hdf5-fce2a31dc5f44f821dd4587f530ef18ce9e424de.tar.gz hdf5-fce2a31dc5f44f821dd4587f530ef18ce9e424de.tar.bz2 |
Address compile warnings
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5diff.c | 1 | ||||
-rw-r--r-- | tools/lib/h5diff_array.c | 1 | ||||
-rw-r--r-- | tools/lib/h5tools_dump.c | 7 |
3 files changed, 3 insertions, 6 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c index b22af18..b2c19fe 100644 --- a/tools/lib/h5diff.c +++ b/tools/lib/h5diff.c @@ -274,7 +274,6 @@ build_match_list (const char *objname1, trav_info_t *info1, const char *objname2 int cmp; trav_table_t *table = NULL; size_t idx; - int ret_value = 0; h5difftrace("build_match_list start\n"); /* init */ diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c index c83b88d..aeb4f95 100644 --- a/tools/lib/h5diff_array.c +++ b/tools/lib/h5diff_array.c @@ -2258,7 +2258,6 @@ static hsize_t character_compare_opt(unsigned char *mem1, unsigned char *mem2, unsigned char temp1_uchar; unsigned char temp2_uchar; double per; - hbool_t both_zero; HDmemcpy(&temp1_uchar, mem1, sizeof(unsigned char)); HDmemcpy(&temp2_uchar, mem2, sizeof(unsigned char)); diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c index 41c5878..4a18785 100644 --- a/tools/lib/h5tools_dump.c +++ b/tools/lib/h5tools_dump.c @@ -3977,7 +3977,6 @@ h5tools_dump_data(FILE *stream, const h5tool_format_t *info, h5tools_context_t * hsize_t total_size[H5S_MAX_RANK]; hsize_t elmt_counter = 0; /*counts the # elements printed. */ int status = -1; - hbool_t dimension_break; h5tools_str_t buffer; /* string into which to render */ hsize_t curr_pos = 0; /* total data element position */ size_t ncols = 80; /* available output width */ @@ -4195,13 +4194,13 @@ h5tools_dump_data(FILE *stream, const h5tool_format_t *info, h5tools_context_t * if(region_type == H5S_SEL_POINTS) { /* Print point information */ H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "H5S_SEL_POINTS H5R_DATASET_REGION2"); - dimension_break = h5tools_dump_region_data_points(new_obj_sid, new_obj_id, stream, &outputformat, &datactx, + h5tools_dump_region_data_points(new_obj_sid, new_obj_id, stream, &outputformat, &datactx, &buffer, &curr_pos, ncols, i, elmt_counter); } else if(region_type == H5S_SEL_HYPERSLABS) { /* Print block information */ H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "H5S_SEL_HYPERSLABS H5R_DATASET_REGION2"); - dimension_break = h5tools_dump_region_data_blocks(new_obj_sid, new_obj_id, stream, &outputformat, &datactx, + h5tools_dump_region_data_blocks(new_obj_sid, new_obj_id, stream, &outputformat, &datactx, &buffer, &curr_pos, ncols, i, elmt_counter); } else @@ -4221,7 +4220,7 @@ h5tools_dump_data(FILE *stream, const h5tool_format_t *info, h5tools_context_t * case H5R_ATTR: H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "ref_type is H5R_ATTR"); if((new_obj_id = H5Ropen_attr((const H5R_ref_t *)&ref_buf[i], H5P_DEFAULT, H5P_DEFAULT)) >= 0) { - dimension_break = h5tools_dump_region_attribute(new_obj_id, stream, &outputformat, &datactx, + h5tools_dump_region_attribute(new_obj_id, stream, &outputformat, &datactx, &buffer, &curr_pos, ncols, i, elmt_counter); if(H5Aclose(new_obj_id) < 0) H5TOOLS_ERROR(H5E_tools_g, H5E_tools_min_id_g, "H5Aclose H5R_ATTR failed"); |