mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-03 09:21:29 +00:00
Merge pull request #340 from dragos-oancea/spandsp-super_tone_rx-undefined
[spandsp] scan-build: The left operand of '>' is a garbage value - super_tone_chunk()
This commit is contained in:
commit
fd4f181519
@ -315,9 +315,9 @@ static void super_tone_chunk(super_tone_rx_state_t *s)
|
|||||||
int k1;
|
int k1;
|
||||||
int k2;
|
int k2;
|
||||||
#if defined(SPANDSP_USE_FIXED_POINT)
|
#if defined(SPANDSP_USE_FIXED_POINT)
|
||||||
int32_t res[SUPER_TONE_BINS/2];
|
int32_t res[SUPER_TONE_BINS/2] = {0};
|
||||||
#else
|
#else
|
||||||
float res[SUPER_TONE_BINS/2];
|
float res[SUPER_TONE_BINS/2] = {0};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < s->desc->monitored_frequencies; i++)
|
for (i = 0; i < s->desc->monitored_frequencies; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user