Warnings--: remove set-but-unused variable

Maybe something left over from debugging?
This commit is contained in:
Boudewijn Rempt 2015-06-12 03:07:43 +02:00
parent 1a18eb97ad
commit 9c2b53dd04

View file

@ -259,9 +259,7 @@ void ZoomEffect::reconfigure(ReconfigureFlags)
void ZoomEffect::prePaintScreen(ScreenPrePaintData& data, int time)
{
bool altered = false;
if (zoom != target_zoom) {
altered = true;
const float zoomDist = qAbs(target_zoom - source_zoom);
if (target_zoom > zoom)
zoom = qMin(zoom + ((zoomDist * time) / animationTime(150*zoomFactor)), target_zoom);