diff options
author | Timothy B. Terriberry <tterribe@xiph.org> | 2014-12-26 08:31:39 -0800 |
---|---|---|
committer | Timothy B. Terriberry <tterribe@xiph.org> | 2014-12-26 08:31:39 -0800 |
commit | 23f503ad1c388aa9171af931ccb2f114f0839e0e (patch) | |
tree | 65d2af79b0299b522108ddefc06309ef6021e11c /celt | |
parent | 0b0a2b4d066c2be3d551ba6429854c20ae147204 (diff) | |
download | libopus-23f503ad1c388aa9171af931ccb2f114f0839e0e.tar.gz |
Fix warnings in pedantic build.
This should suppress our current issues with unused parameters,
unused variables, and set-but-not-used variables.
Diffstat (limited to 'celt')
-rw-r--r-- | celt/celt_encoder.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c index 6e2827f6..86a3fbb5 100644 --- a/celt/celt_encoder.c +++ b/celt/celt_encoder.c @@ -815,6 +815,8 @@ static int alloc_trim_analysis(const CELTMode *m, const celt_norm *X, 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 @@ static int compute_vbr(const CELTMode *mode, AnalysisInfo *analysis, opus_int32 /*printf("%f %f ", analysis->tonality, tonal);*/ target = tonal_target; } +#else + (void)analysis; + (void)pitch_change; #endif if (has_surround_mask&&!lfe) |