diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-20 19:40:08 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-20 19:40:08 (GMT) |
commit | 37529db25c4bb0699024a26eb6e7a8f81390892b (patch) | |
tree | 83a53f4f063353d25e8dd6a47cb2b09d7dcfea1b /tools/src/h5ls | |
parent | a08a3eaebac031a909748db05f747cec72989f5c (diff) | |
download | hdf5-37529db25c4bb0699024a26eb6e7a8f81390892b.zip hdf5-37529db25c4bb0699024a26eb6e7a8f81390892b.tar.gz hdf5-37529db25c4bb0699024a26eb6e7a8f81390892b.tar.bz2 |
HDFFV-10976,-10980 h5dump, h5ls, h5diff use new ref APIs
Diffstat (limited to 'tools/src/h5ls')
-rw-r--r-- | tools/src/h5ls/h5ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c index 6c21782..70af8cf 100644 --- a/tools/src/h5ls/h5ls.c +++ b/tools/src/h5ls/h5ls.c @@ -1313,7 +1313,7 @@ dump_reference(FILE *stream, const h5tool_format_t *info, h5tools_context_t *ctx HDmemset(&buffer, 0, sizeof(h5tools_str_t)); for(i = 0; i < ndims; i++, datactx.cur_elmt++, elmt_counter++) { - H5O_type_t obj_type; /* Object type */ + H5O_type_t obj_type = -1; /* Object type */ H5R_type_t ref_type; /* Reference type */ H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "reference loop:%d with curr_pos=%ld", i, curr_pos); |