diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 9a036fd3d3..1b06d32d2e 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -6315,7 +6315,6 @@ AutomationRangeDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor) /* Get line states before we start changing things */ for (list::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()) { diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 184d1111a5..1147d82b96 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -1268,7 +1268,6 @@ private: std::list points; ///< points to drag on the line std::pair 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 _lines;