Merge pull request #308 from dragos-oancea/spandsp-t4_tx-val-never-read

[spandsp] scan-build: Value stored to 'result' is never read - read_tiff_t85_image()
This commit is contained in:
Andrey Volk 2020-02-12 01:02:32 +04:00 committed by GitHub
commit 7c14be2b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -944,7 +944,7 @@ static int read_tiff_t85_image(t4_tx_state_t *s)
break;
}
if (result == T4_DECODE_MORE_DATA)
result = t85_decode_put(&t85, NULL, 0);
t85_decode_put(&t85, NULL, 0);
len = t85_decode_get_compressed_image_size(&t85);
span_log(&s->logging, SPAN_LOG_WARNING, "Compressed image is %d bytes, %d rows\n", len/8, s->tiff.image_length);