From: Ben Loftis Date: Wed, 25 Mar 2015 22:20:56 +0000 (-0500) Subject: remove crufty variable X-Git-Tag: 4.0-rc1~81 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=a53bd7269797969bfb182a4caebc9361cac45795;p=ardour.git remove crufty variable --- diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index f2bb65b695..d47109303b 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -4499,7 +4499,6 @@ SelectionDrag::SelectionDrag (Editor* e, ArdourCanvas::Item* i, Operation o) : Drag (e, i) , _operation (o) , _add (false) - , _original_pointer_time_axis (-1) , _time_selection_at_start (!_editor->get_selection().time.empty()) { DEBUG_TRACE (DEBUG::Drags, "New SelectionDrag\n"); @@ -4558,8 +4557,6 @@ SelectionDrag::start_grab (GdkEvent* event, Gdk::Cursor*) } else { show_verbose_cursor_time (adjusted_current_frame (event)); } - - _original_pointer_time_axis = _editor->trackview_by_y_position (current_pointer_y ()).first->order (); } void diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h index 08812e6639..ccfd58c714 100644 --- a/gtk2_ardour/editor_drag.h +++ b/gtk2_ardour/editor_drag.h @@ -983,7 +983,6 @@ public: private: Operation _operation; bool _add; - int _original_pointer_time_axis; std::list _added_time_axes; bool _time_selection_at_start; framepos_t start_at_start;