summaryrefslogtreecommitdiff
path: root/infback.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-11-20 08:43:46 -0800
committerMark Adler <madler@alumni.caltech.edu>2011-11-27 14:15:40 -0800
commitde32a2d74948e13e4d8ec17263a31e2c3ae900b1 (patch)
tree1cdaed5a96b5c5cd62fc9f3ad51461dfb4f9eeaf /infback.c
parent383d2cdab7662d21a3c720139635fe0fbc451a71 (diff)
downloadzlib-de32a2d74948e13e4d8ec17263a31e2c3ae900b1.tar.gz
Remove code from inflate.c and infback.c that is impossible to execute.
During coverage testing it was discovered that these two lines could never pull more bits, since the immediately preceding for loop assures that all of the code's bits are already pulled.
Diffstat (limited to 'infback.c')
-rw-r--r--infback.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/infback.c b/infback.c
index 5462952..c026485 100644
--- a/infback.c
+++ b/infback.c
@@ -403,7 +403,6 @@ void FAR *out_desc;
PULLBYTE();
}
if (here.val < 16) {
- NEEDBITS(here.bits);
DROPBITS(here.bits);
state->lens[state->have++] = here.val;
}