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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user