diff options
author | Robin Gareus <robin@gareus.org> | 2019-03-30 01:15:17 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-03-30 01:15:17 +0100 |
commit | 546d5d09b56082e1c4f3a287f5db6a611107a3dc (patch) | |
tree | ac61f2833c24799d37779efa0e53b13bd8d48eda /gtk2_ardour | |
parent | f40456a649a882fed2b7a678d88d42c55c13e65e (diff) |
Remove unused variable
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 1 | ||||
-rw-r--r-- | gtk2_ardour/editor_drag.h | 1 |
2 files changed, 0 insertions, 2 deletions
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<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()) { 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<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; |