From 4c340f799bdbaf21f1b35926d9db67082935953c Mon Sep 17 00:00:00 2001 From: Nathan Moinvaziri Date: Mon, 8 Jun 2020 18:59:29 -0700 Subject: [PATCH] Fixed deflate_quick algorithm not being used due to old check. --- deflate.c | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.47.2