Fix DISABLE_FLOAT_API unused parameter warning
authorMark Harris <mark.hsj@gmail.com>
Mon, 28 May 2018 08:09:09 +0000 (01:09 -0700)
committerMark Harris <mark.hsj@gmail.com>
Mon, 28 May 2018 08:09:09 +0000 (01:09 -0700)
celt/celt_encoder.c

index 66b5f00..adf8573 100644 (file)
@@ -1222,6 +1222,8 @@ static int run_prefilter(CELTEncoder *st, celt_sig *in, celt_sig *prefilter_mem,
 #ifndef DISABLE_FLOAT_API
    if (analysis->valid)
       gain1 *= analysis->max_pitch_ratio;
+#else
+   (void)analysis;
 #endif
    /* Gain threshold for enabling the prefilter/postfilter */
    pf_threshold = QCONST16(.2f,15);