Removed unnecessary initialization
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Mon, 7 Feb 2005 21:14:36 +0000 (21:14 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Mon, 7 Feb 2005 21:14:36 +0000 (21:14 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@8862 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/ltp.c

index 7ef7689..56f746f 100644 (file)
@@ -182,11 +182,6 @@ void open_loop_nbest_pitch(spx_sig_t *sw, int start, int end, int len, int *pitc
       /* Update energy for next pitch*/
       energy[i-start+1] = energy[i-start] + SHR(MULT16_16(swn[-i-1],swn[-i-1]),6) - SHR(MULT16_16(swn[-i+len-1],swn[-i+len-1]),6);
    }
-   for (i=start;i<=end;i++)
-   {
-      corr[i-start]=0;
-      score[i-start]=0;
-   }
 
    pitch_xcorr(swn, swn-end, corr, len, end-start+1, stack);