Silences a warning in fixed-point v1.1-rc
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 26 Nov 2013 03:33:43 +0000 (22:33 -0500)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 26 Nov 2013 03:33:43 +0000 (22:33 -0500)
celt/celt_encoder.c

index bbd30e9..91c1212 100644 (file)
@@ -497,6 +497,8 @@ void celt_preemphasis(const opus_val16 * OPUS_RESTRICT pcmp, celt_sig * OPUS_RES
       for (i=0;i<Nu;i++)
          inp[i*upsample] = MAX32(-65536.f, MIN32(65536.f,inp[i*upsample]));
    }
+#else
+   (void)clip; /* Avoids a warning about clip being unused. */
 #endif
    m = *mem;
 #ifdef CUSTOM_MODES