summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-04-10 18:39:46 (GMT)
committerGitHub <noreply@github.com>2023-04-10 18:39:46 (GMT)
commit1ad030f6696159c498880a4d785f9a2f7ae6fd32 (patch)
tree8d490d787715c0c06a903bc6a7bc6ad73ea75421 /tools/lib
parentfc91e8856f9babe0d2533a952209473be11b4ccd (diff)
downloadhdf5-1ad030f6696159c498880a4d785f9a2f7ae6fd32.zip
hdf5-1ad030f6696159c498880a4d785f9a2f7ae6fd32.tar.gz
hdf5-1ad030f6696159c498880a4d785f9a2f7ae6fd32.tar.bz2
Remove dead code hidden behind #ifdef LATER (#2686)
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools_str.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c
index d9e26e7..223eb61 100644
--- a/tools/lib/h5tools_str.c
+++ b/tools/lib/h5tools_str.c
@@ -1336,22 +1336,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->vlen_sep, "," OPTIONAL_LINE_BREAK));
-#ifdef LATER
- /* Need to fix so VL data breaks at correct location on end of line -QAK */
- if (info->arr_linebreak && h5tools_str_len(str) >= info->line_ncols) {
- int x;
-
- h5tools_str_append(str, "%s", "\n");
-
- /* need to indent some more here */
- if (ctx->indent_level >= 0)
- h5tools_str_append(str, "%s", OPT(info->line_pre, ""));
-
- for (x = 0; x < ctx->indent_level + 1; x++)
- h5tools_str_append(str, "%s", OPT(info->line_indent, ""));
- } /* end if */
-#endif /* LATER */
-
ctx->indent_level++;
/* Dump the array element */