From 0c03f9d1a434ca591f40980eff388daff653ce0d Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 4 Feb 2014 10:13:56 +0000 Subject: Misc (re #1630): Fixing warnings about variable set but not used with recent gcc git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98 --- third_party/ilbc/LPCencode.c | 3 +-- third_party/ilbc/helpfun.c | 4 ++-- third_party/ilbc/iLBC_decode.c | 3 +-- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'third_party/ilbc') diff --git a/third_party/ilbc/LPCencode.c b/third_party/ilbc/LPCencode.c index 19695c0f..eed1f893 100644 --- a/third_party/ilbc/LPCencode.c +++ b/third_party/ilbc/LPCencode.c @@ -224,7 +224,6 @@ ){ float lsf[LPC_FILTERORDER * LPC_N_MAX]; float lsfdeq[LPC_FILTERORDER * LPC_N_MAX]; - int change=0; SimpleAnalysis(lsf, data, iLBCenc_inst); SimplelsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n); @@ -233,7 +232,7 @@ - change=LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); + LSF_check(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); SimpleInterpolateLSF(syntdenum, weightdenum, lsf, lsfdeq, iLBCenc_inst->lsfold, iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst); diff --git a/third_party/ilbc/helpfun.c b/third_party/ilbc/helpfun.c index 1aba6578..2406c131 100644 --- a/third_party/ilbc/helpfun.c +++ b/third_party/ilbc/helpfun.c @@ -277,7 +277,7 @@ table */ ){ int k,n,m, Nit=2, change=0,pos; - float tmp; + //float tmp; static float eps=(float)0.039; /* 50 Hz */ static float eps2=(float)0.0195; static float maxlsf=(float)3.14; /* 4000 Hz */ @@ -293,7 +293,7 @@ if ((lsf[pos+1]-lsf[pos])lpc_n); - check=LSF_check(lsfdeq, LPC_FILTERORDER, + LSF_check(lsfdeq, LPC_FILTERORDER, iLBCdec_inst->lpc_n); DecoderInterpolateLSF(syntdenum, weightdenum, lsfdeq, LPC_FILTERORDER, iLBCdec_inst); -- cgit v1.2.3