mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +00:00
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:
commit
7c14be2b63
@ -944,7 +944,7 @@ static int read_tiff_t85_image(t4_tx_state_t *s)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (result == T4_DECODE_MORE_DATA)
|
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);
|
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);
|
span_log(&s->logging, SPAN_LOG_WARNING, "Compressed image is %d bytes, %d rows\n", len/8, s->tiff.image_length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user