diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-04-10 18:39:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-10 18:39:46 (GMT) |
commit | 1ad030f6696159c498880a4d785f9a2f7ae6fd32 (patch) | |
tree | 8d490d787715c0c06a903bc6a7bc6ad73ea75421 /tools | |
parent | fc91e8856f9babe0d2533a952209473be11b4ccd (diff) | |
download | hdf5-1ad030f6696159c498880a4d785f9a2f7ae6fd32.zip hdf5-1ad030f6696159c498880a4d785f9a2f7ae6fd32.tar.gz hdf5-1ad030f6696159c498880a4d785f9a2f7ae6fd32.tar.bz2 |
Remove dead code hidden behind #ifdef LATER (#2686)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/h5tools_str.c | 16 | ||||
-rw-r--r-- | tools/test/perform/zip_perf.c | 20 |
2 files changed, 0 insertions, 36 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 */ diff --git a/tools/test/perform/zip_perf.c b/tools/test/perform/zip_perf.c index 1265c30..19b29ba 100644 --- a/tools/test/perform/zip_perf.c +++ b/tools/test/perform/zip_perf.c @@ -192,26 +192,6 @@ compress_buffer(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceL } } -#ifdef LATER -/* - * Function: uncompress_buffer - * Purpose: Uncompress the buffer. - * Returns: Z_OK - success - * Z_MEM_ERROR - not enough memory - * Z_BUF_ERROR - not enough room in the output buffer - * Z_DATA_ERROR - the input data was corrupted - * Programmer: Bill Wendling, 05. June 2002 - * Modifications: - */ -static int -uncompress_buffer(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) -{ - int rc = uncompress(dest, destLen, source, sourceLen); - - return rc; -} -#endif /* LATER */ - /* * Function: get_unique_name * Purpose: Create a new file who's name doesn't conflict with |