changeset 824:22fe9bcb7206 tonioni

compile fix
author Chris Cannam
date Fri, 18 Jul 2014 11:07:13 +0100
parents d974ed657176
children f7590917177c
files layer/FlexiNoteLayer.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.cpp	Wed Jul 16 14:35:00 2014 +0100
+++ b/layer/FlexiNoteLayer.cpp	Fri Jul 18 11:07:13 2014 +0100
@@ -797,8 +797,7 @@
 
 //    Profiler profiler("FlexiNoteLayer::paint", true);
 
-    int x0 = rect.left(), x1 = rect.right();
-    int frame0 = v->getFrameForX(x0);
+    int x1 = rect.right();
     int frame1 = v->getFrameForX(x1);
 
     FlexiNoteModel::PointList points(m_model->getPoints(0, frame1));