Merge pull request #397 from signalwire/spandsp

[spandsp] scan-build: Fix "Result of operation is garbage or undefined" in rpe_grid_selection()
This commit is contained in:
Andrey Volk 2020-02-20 23:02:54 +04:00 committed by GitHub
commit cd12fff8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ void gsm0610_rpe_encoding(gsm0610_state_t *s,
int16_t *Mc,
int16_t xMc[13])
{
int16_t x[40];
int16_t x[40] = {0};
int16_t xM[13];
int16_t xMp[13];
int16_t mant;