# HG changeset patch # User Chris Cannam # Date 1548065256 0 # Node ID 89d124ac9bfabc219cb4e4a8d726dfd0d3be13fb # Parent 79032214f79d2dcca1ea0d3b677bf484d2763dde Avoid compiler warning diff -r 79032214f79d -r 89d124ac9bfa layer/RegionLayer.cpp --- 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());