From ab66152f00a9b756fd90ece70c0603579852f7b8 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 21 Mar 2023 22:51:55 +0100 Subject: [PATCH] Allow evaluate_plain() to be unused We won't need this, but it being there makes everything a lot clearer. --- plugins/spectral_compressor/src/curve.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/spectral_compressor/src/curve.rs b/plugins/spectral_compressor/src/curve.rs index 711a596f..83a1c090 100644 --- a/plugins/spectral_compressor/src/curve.rs +++ b/plugins/spectral_compressor/src/curve.rs @@ -55,6 +55,7 @@ impl<'a> Curve<'a> { /// Evaluate the curve for a value in Hertz. #[inline] + #[allow(unused)] pub fn evaluate_plain(&self, freq: f32) -> f32 { self.evaluate_log2(freq.log2()) }