mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Fix uninitialized variable in Equalizer effect
Delete mCustomBackup, as it is never used
This commit is contained in:
parent
428f5c8391
commit
038989e41d
@ -251,16 +251,10 @@ EffectEqualization::EffectEqualization()
|
||||
|
||||
mCurve = NULL;
|
||||
mDirty = false;
|
||||
mDisallowCustom = false;
|
||||
|
||||
// Load the EQ curves
|
||||
LoadCurves();
|
||||
if (mDisallowCustom)
|
||||
{
|
||||
mCustomBackup.Name = wxT("unnamed");
|
||||
EQCurve &realCustom = mCurves[mCurves.GetCount()-1];
|
||||
wxASSERT(realCustom.Name.IsSameAs(wxT("unnamed")));
|
||||
mCustomBackup.points = realCustom.points;
|
||||
}
|
||||
|
||||
// Note: initial curve is set in TransferDataToWindow
|
||||
|
||||
|
@ -212,7 +212,6 @@ private:
|
||||
double mEQVals[NUMBER_OF_BANDS+1];
|
||||
|
||||
EQCurveArray mCurves;
|
||||
EQCurve mCustomBackup;
|
||||
|
||||
Envelope *mLogEnvelope;
|
||||
Envelope *mLinEnvelope;
|
||||
|
Loading…
x
Reference in New Issue
Block a user