mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-28 00:55:50 +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:
@@ -112,7 +112,7 @@ void InterpolateAudio(float *buffer, const size_t len,
|
||||
const int IP =
|
||||
imin(imin(numBad * 3, 50), imax(firstBad - 1, len - (firstBad + numBad) - 1));
|
||||
|
||||
if (IP < 3 || IP >= N) {
|
||||
if (IP < 3 || IP >= (int)N) {
|
||||
LinearInterpolateAudio(buffer, len, firstBad, numBad);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user