diff options
author | Ruben Vorderman <r.h.p.vorderman@lumc.nl> | 2023-02-08 09:03:42 +0100 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2023-03-17 21:27:56 +0100 |
commit | 38284110216673a4ffd5c70b6757b0cab75c8536 (patch) | |
tree | c751d4d58fde026806dba783ed6ffb9cdd23ac19 | |
parent | a95801dc9d166954165a98089c7b34658c7630ba (diff) |
Remove WindowBits check for level 1
-rw-r--r-- | deflate.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -301,11 +301,6 @@ int32_t Z_EXPORT PREFIX(deflateInit2_)(PREFIX3(stream) *strm, int32_t level, int if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */ -#if !defined(NO_QUICK_STRATEGY) && !defined(S390_DFLTCC_DEFLATE) - if (level == 1) - windowBits = 13; -#endif - s = (deflate_state *) ZALLOC_STATE(strm, 1, sizeof(deflate_state)); if (s == NULL) return Z_MEM_ERROR; |