From: Dragos Oancea Date: Tue, 4 Feb 2020 14:31:06 +0000 (+0000) Subject: [spandsp] scan-build: Value stored to 'result' is never read - read_tiff_t85_image() X-Git-Tag: v1.10.3^2~203^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F308%2Fhead;p=thirdparty%2Ffreeswitch.git [spandsp] scan-build: Value stored to 'result' is never read - read_tiff_t85_image() --- diff --git a/libs/spandsp/src/t4_tx.c b/libs/spandsp/src/t4_tx.c index 09acb45382..acaf0eac46 100644 --- a/libs/spandsp/src/t4_tx.c +++ b/libs/spandsp/src/t4_tx.c @@ -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);