summaryrefslogtreecommitdiffstats
path: root/compat/zlib/contrib/infback9/infback9.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-05-15 10:41:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-05-15 10:41:03 (GMT)
commitf4d3ebde2af3c5df88de0299af83dddf06c41822 (patch)
treee41acfb37b7397d31cf5d91943a5ebf8bd2f7ca6 /compat/zlib/contrib/infback9/infback9.c
parent1eacac1aa2e8e1f6a11ad280d4d5ac4774672c81 (diff)
parent1d99d2af062fbf3e3af72e1347840eb3555250dc (diff)
downloadtcl-dkf_bcc_optimize.zip
tcl-dkf_bcc_optimize.tar.gz
tcl-dkf_bcc_optimize.tar.bz2
merge trunkdkf_bcc_optimize
Diffstat (limited to 'compat/zlib/contrib/infback9/infback9.c')
-rw-r--r--compat/zlib/contrib/infback9/infback9.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/compat/zlib/contrib/infback9/infback9.c b/compat/zlib/contrib/infback9/infback9.c
index 7bbe90c..05fb3e3 100644
--- a/compat/zlib/contrib/infback9/infback9.c
+++ b/compat/zlib/contrib/infback9/infback9.c
@@ -222,14 +222,13 @@ out_func out;
void FAR *out_desc;
{
struct inflate_state FAR *state;
- unsigned char FAR *next; /* next input */
+ z_const unsigned char FAR *next; /* next input */
unsigned char FAR *put; /* next output */
unsigned have; /* available input */
unsigned long left; /* available output */
inflate_mode mode; /* current inflate mode */
int lastblock; /* true if processing last block */
int wrap; /* true if the window has wrapped */
- unsigned long write; /* window write index */
unsigned char FAR *window; /* allocated sliding window, if needed */
unsigned long hold; /* bit buffer */
unsigned bits; /* bits in bit buffer */
@@ -259,7 +258,6 @@ void FAR *out_desc;
strm->msg = Z_NULL;
mode = TYPE;
lastblock = 0;
- write = 0;
wrap = 0;
window = state->window;
next = strm->next_in;