]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[spandsp] scan-build: Fix "Result of operation is garbage or undefined" in rpe_grid_s... 397/head
authorAndrey Volk <andywolk@gmail.com>
Thu, 20 Feb 2020 18:53:34 +0000 (22:53 +0400)
committerAndrey Volk <andywolk@gmail.com>
Thu, 20 Feb 2020 18:53:34 +0000 (22:53 +0400)
libs/spandsp/src/gsm0610_rpe.c

index b48fc74d32e0b8486ef4d5780a2927eac5a6f00b..3bd683b5d3d7e960c40e559aa20cb5ed873de616 100644 (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;