summaryrefslogtreecommitdiff
path: root/deflate.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@solidstatenetworks.com>2020-06-08 18:59:29 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-06-09 08:18:33 +0200
commit4c340f799bdbaf21f1b35926d9db67082935953c (patch)
treefd55465014045c8a0790e80a306c9342657686bf /deflate.c
parent38bdf9b1d890243f30e1f8d085d45c5a44cbaa99 (diff)
Fixed deflate_quick algorithm not being used due to old check.
Diffstat (limited to 'deflate.c')
-rw-r--r--deflate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/deflate.c b/deflate.c
index 38a4176..3a6b05f 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) {