[spandsp] scan-build: The left operand of '>' is a garbage value - super_tone_chunk()

This commit is contained in:
Dragos Oancea 2020-02-12 10:30:20 +00:00
parent 1b66e76548
commit 2b6b925ea6
1 changed files with 2 additions and 2 deletions

View File

@ -315,9 +315,9 @@ static void super_tone_chunk(super_tone_rx_state_t *s)
int k1;
int k2;
#if defined(SPANDSP_USE_FIXED_POINT)
int32_t res[SUPER_TONE_BINS/2];
int32_t res[SUPER_TONE_BINS/2] = {0};
#else
float res[SUPER_TONE_BINS/2];
float res[SUPER_TONE_BINS/2] = {0};
#endif
for (i = 0; i < s->desc->monitored_frequencies; i++)