From a64fd14f9a45fd7575b65486894ada1d3232eeb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 29 Jun 2016 10:51:47 +0200 Subject: [PATCH] [effects/zoom] Remove unused variable --- effects/zoom/zoom.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/effects/zoom/zoom.cpp b/effects/zoom/zoom.cpp index 72a976f0d6..9e76864077 100644 --- a/effects/zoom/zoom.cpp +++ b/effects/zoom/zoom.cpp @@ -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