redundant assignment found by Clang
[ffmpeg.git] / libavcodec / nellymoser.c
index 6e16f6f..75ae5d7 100644 (file)
@@ -147,7 +147,6 @@ void ff_nelly_get_sample_bits(const float *buf, int *bits)
     bitsum = sum_bits(sbuf, shift_saved, small_off);
 
     if (bitsum != NELLY_DETAIL_BITS) {
-        shift = 0;
         off = bitsum - NELLY_DETAIL_BITS;
 
         for(shift=0; FFABS(off) <= 16383; shift++)