summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_str.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-04 15:01:43 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-04 15:01:43 (GMT)
commit48fa07cd25da23ddca005a4ed475967b81d9d02a (patch)
treecc453e8c80378e58ad95fdd996ed9eeb1dbe488c /tools/lib/h5tools_str.c
parent71ebded494b7630ccb57f9f13bb621a37fdd9778 (diff)
downloadhdf5-48fa07cd25da23ddca005a4ed475967b81d9d02a.zip
hdf5-48fa07cd25da23ddca005a4ed475967b81d9d02a.tar.gz
hdf5-48fa07cd25da23ddca005a4ed475967b81d9d02a.tar.bz2
[svn-r20187] Verify/cleanup code due to debugging changes
Tested: local linux
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r--tools/lib/h5tools_str.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index fa60389..95b1f5b 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -1065,7 +1065,6 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
if (i)
h5tools_str_append(str, "%s", OPT(info->arr_sep, "," OPTIONAL_LINE_BREAK));
- fprintf(stderr, "lb: %d, i: %d, mod: %d, dim: %d, ndim: %d\n", info->arr_linebreak, i, i % dims[ndims - 1], dims[ndims - 1], ndims);
if (info->arr_linebreak && i && i % dims[ndims - 1] == 0) {
int x;
@@ -1079,8 +1078,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai
for (x = 0; x < ctx->indent_level + 1; x++)
h5tools_str_append(str, "%s", OPT(info->line_indent, ""));
} /* end if */
- else
- if (i && info->arr_sep)
+ else if (i && info->arr_sep)
h5tools_str_append(str, " ");
ctx->indent_level++;