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.
This commit is contained in:
parent
383d2cdab7
commit
de32a2d749
@ -403,7 +403,6 @@ void FAR *out_desc;
|
|||||||
PULLBYTE();
|
PULLBYTE();
|
||||||
}
|
}
|
||||||
if (here.val < 16) {
|
if (here.val < 16) {
|
||||||
NEEDBITS(here.bits);
|
|
||||||
DROPBITS(here.bits);
|
DROPBITS(here.bits);
|
||||||
state->lens[state->have++] = here.val;
|
state->lens[state->have++] = here.val;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user