From: Nathan Moinvaziri Date: Tue, 9 Jun 2020 01:59:29 +0000 (-0700) Subject: Fixed deflate_quick algorithm not being used due to old check. X-Git-Tag: 1.9.9-b1~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c340f799bdbaf21f1b35926d9db67082935953c;p=thirdparty%2Fzlib-ng.git Fixed deflate_quick algorithm not being used due to old check. --- diff --git a/deflate.c b/deflate.c index 38a4176b..3a6b05fa 100644 --- a/deflate.c +++ b/deflate.c @@ -1003,9 +1003,6 @@ int ZEXPORT PREFIX(deflate)(PREFIX3(stream) *strm, int flush) { s->level == 0 ? deflate_stored(s, flush) : s->strategy == Z_HUFFMAN_ONLY ? deflate_huff(s, flush) : s->strategy == Z_RLE ? deflate_rle(s, flush) : -#ifndef NO_QUICK_STRATEGY - s->level == 1 ? deflate_fast(s, flush) : -#endif (*(configuration_table[s->level].func))(s, flush); if (bstate == finish_started || bstate == finish_done) {