summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-29 15:23:27 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2015-03-30 09:19:00 -0500
commitcf8f450f5600a27f09e75dba1be19ce3a41efc3d (patch)
treea2adba3a5aea8097c1bde86a79e6924bd4e2c2bf /gtk2_ardour
parent9313930bb3ceb1051bb01152140787576c21f98d (diff)
remove a dead variable initialization.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_drag.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index 6288c026d2..9fbf2efce8 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -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);