[spandsp] scan-build: Array subscript is undefined - test_cadence()

This commit is contained in:
Dragos Oancea 2020-02-20 09:57:12 +00:00
parent 6609fc4ee2
commit 1d3fcd6864
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ static int test_cadence(super_tone_rx_segment_t *pattern,
int rotation) int rotation)
{ {
int i; int i;
int j; int j = 0;
if (rotation >= 0) if (rotation >= 0)
{ {