Fix warnings in pedantic build.
This should suppress our current issues with unused parameters,
unused variables, and set-but-not-used variables.
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c
index 6e2827f..86a3fbb 100644
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -815,6 +815,8 @@
trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8),
(opus_val16)(QCONST16(2.f, 8)*(analysis->tonality_slope+.05f))));
}
+#else
+ (void)analysis;
#endif
#ifdef FIXED_POINT
@@ -1251,6 +1253,9 @@
/*printf("%f %f ", analysis->tonality, tonal);*/
target = tonal_target;
}
+#else
+ (void)analysis;
+ (void)pitch_change;
#endif
if (has_surround_mask&&!lfe)