Merge pull request #393 from dragos-oancea/spandsp-super_tone_rx-undefined-j

[spandsp] scan-build: Array subscript is undefined - test_cadence()
This commit is contained in:
Andrey Volk 2020-02-20 19:35:17 +04:00 committed by GitHub
commit 17996ad6b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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