[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
1 changed files with 0 additions and 1 deletions

View File

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