diff --git a/libavcodec/mips/compute_antialias_float.h b/libavcodec/mips/compute_antialias_float.h
index 0f6f03f5873fe87cd4831dedffdc92e548272742..e84abda9f05caea73487b7c8db2f9f5e951fba4d 100644
--- a/libavcodec/mips/compute_antialias_float.h
+++ b/libavcodec/mips/compute_antialias_float.h
@@ -61,7 +61,6 @@ static void compute_antialias_mips_float(MPADecodeContext *s,
 {
     float *ptr, *ptr_end;
     float *csa = &csa_table[0][0];
-    int n;
     /* temporary variables */
     float in1, in2, in3, in4, in5, in6, in7, in8;
     float out1, out2, out3, out4;
@@ -72,10 +71,8 @@ static void compute_antialias_mips_float(MPADecodeContext *s,
         if (!g->switch_point)
             return;
         /* XXX: check this for 8000Hz case */
-        n = 1;
         ptr_end = ptr + 18;
     } else {
-        n = 31;
         ptr_end = ptr + 558;
     }