Remove unused variable
authorRobin Gareus <robin@gareus.org>
Sat, 30 Mar 2019 00:15:17 +0000 (01:15 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 30 Mar 2019 00:15:17 +0000 (01:15 +0100)
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_drag.h

index 9a036fd3d3e8ae3d9cc7eaecd4042de3e8b14a8d..1b06d32d2e25e327acc35a2b42b77c6c00714a50 100644 (file)
@@ -6315,7 +6315,6 @@ AutomationRangeDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
        /* Get line states before we start changing things */
        for (list<Line>::iterator i = _lines.begin(); i != _lines.end(); ++i) {
                i->state = &i->line->get_state ();
-               i->original_fraction = y_fraction (i->line, current_pointer_y());
        }
 
        if (_ranges.empty()) {
index 184d1111a5b71ef629232271a6d22ee83fed4d42..1147d82b96aeddbdc302610a4c2ec0164855b0c8 100644 (file)
@@ -1268,7 +1268,6 @@ private:
                std::list<ControlPoint*> points; ///< points to drag on the line
                std::pair<ARDOUR::samplepos_t, ARDOUR::samplepos_t> range; ///< the range of all points on the line, in session samples
                XMLNode* state; ///< the XML state node before the drag
-               double original_fraction; ///< initial y-fraction before the drag
        };
 
        std::list<Line> _lines;