Skip to content

Commit 685f59a

Browse files
committed
Prevent uninitialised variable warning
1 parent 68f98df commit 685f59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/opus/silk/NLSF2A.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void silk_NLSF2A(
8080
};
8181
const unsigned char *ordering;
8282
opus_int k, i, dd;
83-
opus_int32 cos_LSF_QA[ SILK_MAX_ORDER_LPC ];
83+
opus_int32 cos_LSF_QA[ SILK_MAX_ORDER_LPC ] = {0};
8484
opus_int32 P[ SILK_MAX_ORDER_LPC / 2 + 1 ], Q[ SILK_MAX_ORDER_LPC / 2 + 1 ];
8585
opus_int32 Ptmp, Qtmp, f_int, f_frac, cos_val, delta;
8686
opus_int32 a32_QA1[ SILK_MAX_ORDER_LPC ];

0 commit comments

Comments
 (0)