mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-08 14:13:57 +01:00
RaphaelMarinier - Initialise mFreqSelTrack (found by Valgrind)
This commit is contained in:
@@ -2467,7 +2467,7 @@ void TrackPanel::MoveSnappingFreqSelection (int mouseYCoordinate,
|
||||
void TrackPanel::StartFreqSelection (int mouseYCoordinate, int trackTopEdge,
|
||||
int trackHeight, Track *pTrack)
|
||||
{
|
||||
mFreqSelTrack = 0;
|
||||
mFreqSelTrack = NULL;
|
||||
mFreqSelMode = FREQ_SEL_INVALID;
|
||||
mFreqSelPin = SelectedRegion::UndefinedFrequency;
|
||||
|
||||
|
||||
@@ -597,7 +597,7 @@ protected:
|
||||
// FREQ_SEL_BOTTOM_FREE,
|
||||
// and is ignored otherwise.
|
||||
double mFreqSelPin;
|
||||
const WaveTrack *mFreqSelTrack;
|
||||
const WaveTrack *mFreqSelTrack = NULL;
|
||||
std::unique_ptr<SpectrumAnalyst> mFrequencySnapper;
|
||||
|
||||
// For toggling of spectral seletion
|
||||
|
||||
Reference in New Issue
Block a user