From e9afc81cb1335cc570c3d0c4ed59a98caa65d850 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Wed, 12 Feb 2020 22:13:04 +0000 Subject: [PATCH] [spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format() --- libs/spandsp/src/t4_tx.c | 1 - 1 file changed, 1 deletion(-) 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)) {