1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-02 17:03:52 +00:00

[spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format()

This commit is contained in:
Dragos Oancea 2020-02-12 22:13:04 +00:00
parent c714401935
commit e9afc81cb1

@ -1869,7 +1869,6 @@ SPAN_DECLARE(int) t4_tx_set_tx_image_format(t4_tx_state_t *s,
break; break;
} }
} }
res = T4_IMAGE_FORMAT_NOSIZESUPPORT;
s->row_squashing_ratio = 1; s->row_squashing_ratio = 1;
if (s->metadata.width_code >= 0 && (supported_image_sizes & s->metadata.width_code)) if (s->metadata.width_code >= 0 && (supported_image_sizes & s->metadata.width_code))
{ {