mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 17:49:45 +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,
|
void TrackPanel::StartFreqSelection (int mouseYCoordinate, int trackTopEdge,
|
||||||
int trackHeight, Track *pTrack)
|
int trackHeight, Track *pTrack)
|
||||||
{
|
{
|
||||||
mFreqSelTrack = 0;
|
mFreqSelTrack = NULL;
|
||||||
mFreqSelMode = FREQ_SEL_INVALID;
|
mFreqSelMode = FREQ_SEL_INVALID;
|
||||||
mFreqSelPin = SelectedRegion::UndefinedFrequency;
|
mFreqSelPin = SelectedRegion::UndefinedFrequency;
|
||||||
|
|
||||||
|
@ -597,7 +597,7 @@ protected:
|
|||||||
// FREQ_SEL_BOTTOM_FREE,
|
// FREQ_SEL_BOTTOM_FREE,
|
||||||
// and is ignored otherwise.
|
// and is ignored otherwise.
|
||||||
double mFreqSelPin;
|
double mFreqSelPin;
|
||||||
const WaveTrack *mFreqSelTrack;
|
const WaveTrack *mFreqSelTrack = NULL;
|
||||||
std::unique_ptr<SpectrumAnalyst> mFrequencySnapper;
|
std::unique_ptr<SpectrumAnalyst> mFrequencySnapper;
|
||||||
|
|
||||||
// For toggling of spectral seletion
|
// For toggling of spectral seletion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user