Skip to content

Commit 59750a9

Browse files
committed
Resolve uninitialized value compile error.
1 parent eba3507 commit 59750a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codec2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ float codec2_get_energy(struct CODEC2 *c2, const unsigned char *bits)
17511751
MODEL model;
17521752
float xq_dec[2] = {};
17531753
int e_index, WoE_index;
1754-
float e;
1754+
float e = 0.0f;
17551755
unsigned int nbit;
17561756

17571757
if ( CODEC2_MODE_ACTIVE(CODEC2_MODE_3200, c2->mode)) {

0 commit comments

Comments
 (0)