summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-13 17:36:09 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-13 17:36:09 (GMT)
commite3c75f6cf718f1103bd92727c1323d555fd1ae16 (patch)
treeb6fcd862d249f8b249f5b9dc23184efd37e2cfff /tools
parente350797b710a9bf2401de1b4a59b4ab0d3f2c70d (diff)
downloadhdf5-e3c75f6cf718f1103bd92727c1323d555fd1ae16.zip
hdf5-e3c75f6cf718f1103bd92727c1323d555fd1ae16.tar.gz
hdf5-e3c75f6cf718f1103bd92727c1323d555fd1ae16.tar.bz2
Fix compile and test issues from DT
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index 4a18785..29b443c 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -3983,6 +3983,7 @@ h5tools_dump_data(FILE *stream, const h5tool_format_t *info, h5tools_context_t *
h5tool_format_t string_dataformat;
h5tool_format_t outputformat;
H5R_ref_t *ref_buf = NULL;
+ h5tools_context_t datactx = *ctx; /* print context */
H5TOOLS_PUSH_STACK();
H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "enter file=%p", (void*)stream);
@@ -4030,7 +4031,6 @@ h5tools_dump_data(FILE *stream, const h5tool_format_t *info, h5tools_context_t *
if (H5Tget_class(f_type) == H5T_REFERENCE) {
ctx->indent_level++;
- h5tools_context_t datactx = *ctx; /* print context */
H5TOOLS_DEBUG(H5E_tools_min_dbg_id_g, "reference class type");
if (!H5Tequal(f_type, H5T_STD_REF) && !H5Tequal(f_type, H5T_STD_REF_DSETREG) && !H5Tequal(f_type, H5T_STD_REF_OBJ)) {
HGOTO_DONE(SUCCEED);