From a48f299b3196c28854db6eeb9e4f5cc134c49e8e Mon Sep 17 00:00:00 2001 From: David Bailes Date: Thu, 7 May 2015 10:56:40 +0100 Subject: [PATCH] forgot to remove temp varialbe in OnPeakText --- src/effects/Amplify.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/effects/Amplify.cpp b/src/effects/Amplify.cpp index 2258df4fc..b56355603 100644 --- a/src/effects/Amplify.cpp +++ b/src/effects/Amplify.cpp @@ -298,8 +298,6 @@ void EffectAmplify::OnPeakText(wxCommandEvent & WXUNUSED(evt)) return; } - float temp = powf(10.0f, 0.0/20.0f ); - mRatio = powf(10.0f, mNewPeak / 20.0f) / mPeak; float ampInit = 20.0f * log10f(mRatio);