diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-07-30 16:46:39 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-07-30 16:46:39 (GMT) |
commit | 88aa0d5c76545eabf08be069a684fd7328eb4185 (patch) | |
tree | 1f6654046dcc7f47103dcf24e8e5fe1f50035434 /tools/lib/h5tools_dump.c | |
parent | 2ece66e999876e78dcc8561ee2a2122e88fb14a1 (diff) | |
parent | ff4a9d0ec2e85cf15f769006e92e756a79869ab8 (diff) | |
download | hdf5-88aa0d5c76545eabf08be069a684fd7328eb4185.zip hdf5-88aa0d5c76545eabf08be069a684fd7328eb4185.tar.gz hdf5-88aa0d5c76545eabf08be069a684fd7328eb4185.tar.bz2 |
Merge pull request #2718 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ff4a9d0ec2e85cf15f769006e92e756a79869ab8':
Warnings reduction in tools
Diffstat (limited to 'tools/lib/h5tools_dump.c')
-rw-r--r-- | tools/lib/h5tools_dump.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c index 187ba18..b1be577 100644 --- a/tools/lib/h5tools_dump.c +++ b/tools/lib/h5tools_dump.c @@ -1252,7 +1252,6 @@ h5tools_print_simple_subset(FILE *stream, const h5tool_format_t *info, h5tools_c size_t j; /* counters */ hsize_t zero[1] = {0}; /* vector of zeros */ unsigned int flags; /* buffer extent flags */ - hsize_t elmtno; /* elemnt index */ hsize_t low[H5S_MAX_RANK]; /* low bound of hyperslab */ hsize_t high[H5S_MAX_RANK]; /* higher bound of hyperslab */ size_t p_type_nbytes; /* size of memory type */ @@ -1565,9 +1564,8 @@ static herr_t h5tools_dump_simple_subset(FILE *stream, const h5tool_format_t *info, h5tools_context_t *ctx, hid_t dset, hid_t p_type) { int sndims; - hid_t f_space = H5I_INVALID_HID; /* file data space */ - size_t i; /* counters */ - hsize_t total_size[H5S_MAX_RANK];/* total size of dataset*/ + hid_t f_space = H5I_INVALID_HID; /* file data space */ + hsize_t total_size[H5S_MAX_RANK]; /* total size of dataset*/ hbool_t past_catch = FALSE; herr_t ret_value = SUCCEED; |