1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Fix 3 uninitialized variable uses

This commit is contained in:
Daniel Winzen
2015-04-30 09:06:37 +02:00
parent 423bc8ac4d
commit 428f5c8391
3 changed files with 8 additions and 3 deletions

View File

@@ -565,9 +565,11 @@ NumericConverter::NumericConverter(Type type,
mFocusedDigit = 0;
mValue = value; // used in SetSampleRate, reassigned later
SetSampleRate(sampleRate);
SetFormatName(formatName);
SetValue(value);
SetValue(value); // mValue got overridden to -1 in ControlsToValue(), reassign
}
void NumericConverter::ParseFormatString( const wxString & format)