diff --git a/deps/libz/deflate.c b/deps/libz/deflate.c index b9991f5436..6fc862e5a7 100644 --- a/deps/libz/deflate.c +++ b/deps/libz/deflate.c @@ -1323,11 +1323,6 @@ static void check_match(s, start, match, length) do { fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); } while (--length != 0); - z_error("invalid match"); - } - if (z_verbose > 1) { - fprintf(stderr,"\\[%d,%d]", start-match, length); - do { putc(s->window[start++], stderr); } while (--length != 0); } } #else diff --git a/deps/libz/trees.c b/deps/libz/trees.c index ed5ff6ab41..8b5e857f85 100644 --- a/deps/libz/trees.c +++ b/deps/libz/trees.c @@ -164,9 +164,7 @@ static void gen_trees_header (void); /* Send a code of the given tree. c and tree must not have side effects */ #else /* DEBUG */ -# define send_code(s, c, tree) \ -{ if (z_verbose>2) fprintf(stderr,"\ncd %3d ",(c)); \ - send_bits(s, tree[c].Code, tree[c].Len); } +# define send_code(s, c, tree) { send_bits(s, tree[c].Code, tree[c].Len); } #endif /* ===========================================================================