mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-19 23:21:33 +01:00
Clean up some dead code and MSVC warnings.
- Dead code from experiments in SelectionBar removed. - Many warnings about unused parameters fixed with WXUNUSED() - Many warnings about signed / unsigned comparisons cleaned up. - Several 'local variable declared but not used' warnings fixed.
This commit is contained in:
@@ -114,7 +114,7 @@ bool EffectReverse::ProcessOneWave(int count, WaveTrack * track, sampleCount sta
|
||||
// perform a split at the start and/or end of the reverse selection
|
||||
const auto &clips = track->GetClips();
|
||||
// Beware, the array grows as we loop over it. Use integer subscripts, not iterators.
|
||||
for (int ii = 0; ii < clips.size(); ++ii) {
|
||||
for (size_t ii = 0; ii < clips.size(); ++ii) {
|
||||
const auto &clip = clips[ii].get();
|
||||
auto clipStart = clip->GetStartSample();
|
||||
auto clipEnd = clip->GetEndSample();
|
||||
|
||||
Reference in New Issue
Block a user