diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-06 19:55:34 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:19 (GMT) |
commit | 56249af938ae5ceda4de17ca428cc67526c6dc4b (patch) | |
tree | 6fdb27b9a3b77bb6be23963e7ac6a79d24e8f07e /tools/src/h5ls/h5ls.c | |
parent | 972ce40f3626a15fd41cafe7542acee88e543b4c (diff) | |
download | hdf5-56249af938ae5ceda4de17ca428cc67526c6dc4b.zip hdf5-56249af938ae5ceda4de17ca428cc67526c6dc4b.tar.gz hdf5-56249af938ae5ceda4de17ca428cc67526c6dc4b.tar.bz2 |
Address compile warnings
Diffstat (limited to 'tools/src/h5ls/h5ls.c')
-rw-r--r-- | tools/src/h5ls/h5ls.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c index 0a43344..7342090 100644 --- a/tools/src/h5ls/h5ls.c +++ b/tools/src/h5ls/h5ls.c @@ -1530,17 +1530,12 @@ dump_dataset_values(hid_t dset) H5TOOLS_ERR_INIT(herr_t, SUCCEED) hid_t f_type = H5I_INVALID_HID; hid_t space = H5I_INVALID_HID; - hid_t new_obj_id = H5I_INVALID_HID; - hid_t new_obj_sid = H5I_INVALID_HID; hsize_t total_size[H5S_MAX_RANK]; - hsize_t nelmts = 1; - hsize_t elmt_counter = 0; /*counts the # elements printed. */ int ndims; size_t i; char string_prefix[64]; static char fmt_double[16]; static char fmt_float[16]; - size_t ncols = 80; /* available output width */ hsize_t curr_pos = 0; /* total data element position */ h5tools_str_t buffer; /* string into which to render */ h5tools_context_t ctx; /* print context */ @@ -1708,22 +1703,13 @@ dump_attribute_values(hid_t attr, const char *attr_name) { H5TOOLS_ERR_INIT(herr_t, SUCCEED) hid_t f_type = H5I_INVALID_HID; - hid_t p_type = H5I_INVALID_HID; hid_t space = H5I_INVALID_HID; - hid_t new_obj_id = H5I_INVALID_HID; - hid_t new_obj_sid = H5I_INVALID_HID; hsize_t total_size[H5S_MAX_RANK]; - hsize_t nelmts = 1; - hsize_t elmt_counter = 0; /*counts the # elements printed. */ - hsize_t temp_need; - size_t need; int ndims; size_t i; - void *buf; char string_prefix[64]; static char fmt_double[16]; static char fmt_float[16]; - size_t ncols = 80; /* available output width */ hsize_t curr_pos = 0; /* total data element position */ h5tools_str_t buffer; /* string into which to render */ h5tools_context_t ctx; /* print context */ @@ -1899,18 +1885,14 @@ list_attr(hid_t obj, const char *attr_name, const H5A_info_t H5_ATTR_UNUSED *ain hid_t attr = H5I_INVALID_HID; hid_t space = H5I_INVALID_HID; hid_t type = H5I_INVALID_HID; - hid_t new_obj_id = H5I_INVALID_HID; - hid_t new_obj_sid = H5I_INVALID_HID; hsize_t size[H5S_MAX_RANK]; hsize_t nelmts = 1; int ndims; int i; H5S_class_t space_type; hsize_t curr_pos = 0; /* total data element position */ - hsize_t elmt_counter = 0; /*counts the # elements printed. */ h5tools_str_t buffer; /* string into which to render */ h5tools_context_t ctx; /* print context */ - size_t ncols = 80; /* available output width */ h5tool_format_t *info = &ls_dataformat; H5TOOLS_PUSH_STACK(); |