Removed some warnings
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Fri, 23 Nov 2007 12:34:54 +0000 (12:34 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Fri, 23 Nov 2007 12:34:54 +0000 (12:34 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@14221 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/bits.c
libspeex/jitter.c
libspeex/ltp.c

index b3270b3..f61c932 100644 (file)
@@ -146,7 +146,6 @@ void speex_bits_read_from(SpeexBits *bits, char *chars, int len)
 
 static void speex_bits_flush(SpeexBits *bits)
 {
-   int i;
    int nchars = ((bits->nbBits+BITS_PER_CHAR-1)>>LOG2_BITS_PER_CHAR);
    if (bits->charPtr>0)
       SPEEX_MOVE(bits->chars, &bits->chars[bits->charPtr], nchars-bits->charPtr);
index 38edbdf..e176eb8 100644 (file)
@@ -474,7 +474,7 @@ int jitter_buffer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int3
    {
       int found = 0;
       /* Find the oldest packet */
-      spx_uint32_t oldest;
+      spx_uint32_t oldest=0;
       for (i=0;i<SPEEX_JITTER_MAX_BUFFER_SIZE;i++)
       {
          if (jitter->packets[i].data && (!found || LT32(jitter->packets[i].timestamp,oldest)))
index 0e95045..0129c95 100644 (file)
@@ -548,7 +548,7 @@ int plc_tuning,
 spx_word32_t *cumul_gain
 )
 {
-   int i,j;
+   int i;
    int cdbk_index, pitch=0, best_gain_index=0;
    VARDECL(spx_sig_t *best_exc);
    VARDECL(spx_word16_t *new_target);