changeset 1415:89d124ac9bfa

Avoid compiler warning
author Chris Cannam
date Mon, 21 Jan 2019 10:07:36 +0000
parents 79032214f79d
children d794630429a7
files layer/RegionLayer.cpp
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/layer/RegionLayer.cpp	Wed Dec 19 10:40:17 2018 +0000
+++ b/layer/RegionLayer.cpp	Mon Jan 21 10:07:36 2019 +0000
@@ -878,8 +878,6 @@
 //    Profiler profiler("RegionLayer::paint", true);
 
     int x0 = rect.left() - 40, x1 = rect.right();
-    sv_frame_t frame0 = v->getFrameForX(x0);
-    sv_frame_t frame1 = v->getFrameForX(x1);
 
     sv_frame_t wholeFrame0 = v->getFrameForX(0);
     sv_frame_t wholeFrame1 = v->getFrameForX(v->getPaintWidth());