Try to fix DEBUG path

This commit is contained in:
twinaphex 2018-01-07 13:24:36 +01:00
parent 0be4d7d178
commit 58e6e2c025
2 changed files with 1 additions and 8 deletions

5
deps/libz/deflate.c vendored
View File

@ -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

4
deps/libz/trees.c vendored
View File

@ -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
/* ===========================================================================