From 2325dc762cc3c82382c0ea0d933edf05be3f3620 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Tue, 4 Feb 2020 14:31:06 +0000 Subject: [PATCH] [spandsp] scan-build: Value stored to 'result' is never read - read_tiff_t85_image() --- libs/spandsp/src/t4_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);