From b66ade3a2d6c664e85542fdfa92ac0c7ac0e6663 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 15 Aug 2015 00:02:40 -0400 Subject: [PATCH] compilation warning --- src/TrackPanel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index e5e987f8f..06c4cf583 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -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;