remove a dead variable initialization.
authorRobin Gareus <robin@gareus.org>
Sun, 29 Mar 2015 13:23:27 +0000 (15:23 +0200)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 30 Mar 2015 14:19:00 +0000 (09:19 -0500)
gtk2_ardour/editor_drag.cc

index 6288c026d294334ca503e9ec82c27582d3627cb3..9fbf2efce809682e5b5964ba6dc7fbb131b706af 100644 (file)
@@ -1010,8 +1010,7 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
                        this_delta_layer = - i->layer;
                }
 
-               int this_delta_time_axis_view = delta_time_axis_view;
-               this_delta_time_axis_view = apply_track_delta(i->time_axis_view, delta_time_axis_view, delta_skip) - i->time_axis_view;
+               int this_delta_time_axis_view = apply_track_delta(i->time_axis_view, delta_time_axis_view, delta_skip) - i->time_axis_view;
 
                int track_index = i->time_axis_view + this_delta_time_axis_view;
                assert(track_index >= 0);