[effects/zoom] Remove unused variable

This commit is contained in:
Martin Gräßlin 2016-06-29 10:51:47 +02:00
parent 95449e0843
commit a64fd14f9a

View file

@ -261,7 +261,6 @@ void ZoomEffect::prePaintScreen(ScreenPrePaintData& data, int time)
{
if (zoom != target_zoom) {
const float zoomDist = qAbs(target_zoom - source_zoom);
double diff = time / animationTime(500.0);
if (target_zoom > zoom)
zoom = qMin(zoom + ((zoomDist * time) / animationTime(150*zoomFactor)), target_zoom);
else