mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-04 21:50:51 +01:00
Fix 3 uninitialized variable uses
This commit is contained in:
@@ -97,6 +97,9 @@ KeyView::KeyView(wxWindow *parent,
|
||||
|
||||
// The default view
|
||||
mViewType = ViewByTree;
|
||||
|
||||
// Calculate measurements used for columns and scrolling
|
||||
RecalcExtents();
|
||||
}
|
||||
|
||||
KeyView::~KeyView()
|
||||
|
||||
@@ -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