Merge pull request #348 from dragos-oancea/spandsp-t4_tx-res--val-never-read

[spandsp] scan-build: Value stored to 'res' is never read - t4_tx_set_tx_image_format()
This commit is contained in:
Andrey Volk
2020-02-14 00:27:20 +04:00
committed by GitHub

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