Issue reported in WebRTC. A variable is defined and set, but never used.

Review URL: http://webrtc-codereview.appspot.com/139001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@474 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tina.legrand@webrtc.org 2011-08-29 06:36:37 +00:00
parent 36450af2b3
commit 2aa5d500af

View File

@ -349,7 +349,6 @@ WebRtc_Word16 WebRtcCng_Encode(CNG_enc_inst *cng_inst,
int i, stab;
int acorrScale;
int index;
WebRtc_Word32 diff;
WebRtc_Word16 ind,factor;
WebRtc_Word32 *bptr, blo, bhi;
WebRtc_Word16 negate;
@ -468,9 +467,7 @@ WebRtc_Word16 WebRtcCng_Encode(CNG_enc_inst *cng_inst,
if((inst->enc_msSinceSID>(inst->enc_interval-1))||forceSID){
/* Search for best dbov value */
/* Clumsy linear search that can be optimized since database is sorted */
index=0;
diff=WEBRTC_SPL_ABS_W32(inst->enc_Energy-WebRtcCng_kDbov[index]);
for(i=1;i<93;i++){
/* Always round downwards */
if((inst->enc_Energy-WebRtcCng_kDbov[i])>0){