diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 2bb6d937c4..ab2d2c071e 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -1934,9 +1934,6 @@ NoteResizeDrag::start_grab (GdkEvent* event, Gdk::Cursor* /*ignored*/) region = &cnote->region_view(); - double const region_start = region->get_position_pixels(); - double const middle_point = region_start + cnote->x0() + (cnote->x1() - cnote->x0()) / 2.0L; - _item->grab (); if (event->motion.state & Keyboard::PrimaryModifier) {