diff layer/FlexiNoteLayer.cpp @ 824:22fe9bcb7206 tonioni

compile fix
author Chris Cannam
date Fri, 18 Jul 2014 11:07:13 +0100
parents a9731b49745a
children 5d4e3e36945f
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));