From 8f5eceefe8b384d7c18813519cb337efef21a0f3 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 7 Jan 2012 11:00:37 -0800 Subject: Remove second empty static block for Z_PARTIAL_FLUSH. Z_PARTIAL_FLUSH would sometimes emit two empty static blocks instead of one in order to provide enough lookahead for inflate to be able to decode what was last compressed. inflate no longer needs that much lookahead, so this removes the possibility of emitting the second empty static block. Z_PARTIAL_FLUSH will now emit only one empty static block. --- deflate.h | 1 - 1 file changed, 1 deletion(-) (limited to 'deflate.h') diff --git a/deflate.h b/deflate.h index 9284329..3590e4d 100644 --- a/deflate.h +++ b/deflate.h @@ -247,7 +247,6 @@ typedef struct internal_state { ulg opt_len; /* bit length of current block with optimal trees */ ulg static_len; /* bit length of current block with static trees */ uInt matches; /* number of string matches in current block */ - int last_eob_len; /* bit length of EOB code for last block */ #ifdef DEBUG ulg compressed_len; /* total bit length of compressed file mod 2^32 */ -- cgit v1.2.1