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)) {