From: Dragos Oancea Date: Wed, 12 Feb 2020 22:13:04 +0000 (+0000) Subject: [spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format() X-Git-Tag: v1.10.3^2~180^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F348%2Fhead;p=thirdparty%2Ffreeswitch.git [spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format() --- diff --git a/libs/spandsp/src/t4_tx.c b/libs/spandsp/src/t4_tx.c index acaf0eac46..47353b62ae 100644 --- a/libs/spandsp/src/t4_tx.c +++ b/libs/spandsp/src/t4_tx.c @@ -1869,7 +1869,6 @@ SPAN_DECLARE(int) t4_tx_set_tx_image_format(t4_tx_state_t *s, break; } } - res = T4_IMAGE_FORMAT_NOSIZESUPPORT; s->row_squashing_ratio = 1; if (s->metadata.width_code >= 0 && (supported_image_sizes & s->metadata.width_code)) {