Remove variable not needed

This commit is contained in:
Joergen Ibsen 2019-01-17 23:41:16 +01:00
parent c2a6484c8a
commit 51990004e2
1 changed files with 1 additions and 2 deletions

View File

@ -464,7 +464,6 @@ static int tinf_inflate_block_data(struct tinf_data *d, struct tinf_tree *lt,
static int tinf_inflate_uncompressed_block(struct tinf_data *d)
{
unsigned int length, invlength;
unsigned int i;
if (d->source_end - d->source < 4) {
return TINF_DATA_ERROR;
@ -492,7 +491,7 @@ static int tinf_inflate_uncompressed_block(struct tinf_data *d)
}
/* Copy block */
for (i = length; i; --i) {
while (length--) {
*d->dest++ = *d->source++;
}