mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 09:39:42 +02:00
RaphaelMarinier - Initialise mFreqSelTrack (found by Valgrind)
This commit is contained in:
parent
b44ad7cd71
commit
0f417a65c7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user