1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-19 07:34:10 +01:00

Fix release build EQ functions.

Uninitialized variable was 0 in debug builds, but could be very high value in release.
This commit is contained in:
James Crook
2019-08-21 23:46:31 +01:00
parent c1c7d5f0a0
commit c9fbd283b7

View File

@@ -350,7 +350,7 @@ bool EffectEqualization::DefineParams( ShuttleParams & S ){
} }
else else
{ {
int numPoints;// = mLogEnvelope->GetNumberOfPoints(); int numPoints=0;// = mLogEnvelope->GetNumberOfPoints();
S.Define( numPoints, wxString("nPoints"), 0, 0,200,1); S.Define( numPoints, wxString("nPoints"), 0, 0,200,1);
mCurves[0].points.clear(); mCurves[0].points.clear();