From 52112a2747cc93e731c3b608cf8a5473aade2d6a Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Sat, 21 Nov 2020 12:08:50 +0100 Subject: [PATCH] Fix initialization (clang 3.8 warning as error on 'suggest braces around initialization of subobject ') --- src/fixedCodebookSearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fixedCodebookSearch.c b/src/fixedCodebookSearch.c index 67cb050..4e6a6a7 100644 --- a/src/fixedCodebookSearch.c +++ b/src/fixedCodebookSearch.c @@ -60,7 +60,7 @@ void fixedCodebookSearch(word16_t targetSignal[], word16_t impulseResponse[], in int correlationSignalSign[L_SUBFRAME]; /* to store the sign of each correlationSignal element */ /* build the matrix ะค' : impulseResponse correlation matrix spec 3.8.1 eq51, eq56 and eq57 */ /* correlationSignal turns to absolute values and sign of elements is stored in correlationSignalSign */ - word32_t Phi[L_SUBFRAME][L_SUBFRAME] = {0}; + word32_t Phi[L_SUBFRAME][L_SUBFRAME] = {}; int m3Base; int i0=0, i1=0, i2=0, i3=0; word32_t correlationSquareMax = -1;