]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[spandsp] scan-build: Value stored to 'result' is never read - read_tiff_t85_image() 308/head
authorDragos Oancea <dragos@signalwire.com>
Tue, 4 Feb 2020 14:31:06 +0000 (14:31 +0000)
committerDragos Oancea <dragos@signalwire.com>
Tue, 4 Feb 2020 14:31:06 +0000 (14:31 +0000)
libs/spandsp/src/t4_tx.c

index 09acb453824b13591d1447a811e3804e2b7ee4d3..acaf0eac461d137c9411ac1ff297685c9ca0fe5b 100644 (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);