1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 16:48:44 +02:00

Remove a compiler warning in Menus.cpp

Quick fix of compiler warning caused by some of my code.
This commit is contained in:
David Bailes 2018-07-05 13:11:28 +01:00
parent bfec6f0aa2
commit 6c48be71ff

View File

@ -7677,9 +7677,9 @@ int AudacityProject::FindClipBoundaries(double time, bool next, std::vector<Foun
results.push_back(result); results.push_back(result);
} }
if (stereoAndDiff) { if (stereoAndDiff) {
auto waveTrack2 = static_cast<const WaveTrack*>(track->GetLink()); waveTrack = static_cast<const WaveTrack*>(track->GetLink());
auto result = next ? FindNextClipBoundary(waveTrack2, time) : result = next ? FindNextClipBoundary(waveTrack, time) :
FindPrevClipBoundary(waveTrack2, time); FindPrevClipBoundary(waveTrack, time);
if (result.nFound > 0) { if (result.nFound > 0) {
result.trackNum = trackNum; result.trackNum = trackNum;
result.channel = stereoAndDiff; result.channel = stereoAndDiff;