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

compilation warning

This commit is contained in:
Paul Licameli 2015-08-15 00:02:40 -04:00
parent d0b67cf968
commit b66ade3a2d

View File

@ -4691,8 +4691,6 @@ void TrackPanel::HandleWaveTrackVZoom
max = 2.0;
}
else {
const float oldRange = max - min;
// limit to +/- 1 range unless already outside that range...
float minRange = (min < -1) ? -2.0 : -1.0;
float maxRange = (max > 1) ? 2.0 : 1.0;