diff options
author | Carl Hetherington <carl@carlh.net> | 2011-07-02 17:16:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-07-02 17:16:46 +0000 |
commit | cd17e05e3a22614387050736c89a4727c4da0d61 (patch) | |
tree | f224ba7c78d83a9abc5d1c8ecf7bedb31005ed74 /gtk2_ardour/editor_drag.cc | |
parent | c03ea1fdb307fadff2b3c3f837426f1039bf5b10 (diff) |
Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 42765e1d87..c889921db7 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -1309,11 +1309,6 @@ RegionSpliceDrag::motion (GdkEvent* event, bool) pair<TimeAxisView*, int> const tvp = _editor->trackview_by_y_position (_drags->current_pointer_y ()); RouteTimeAxisView* tv = dynamic_cast<RouteTimeAxisView*> (tvp.first); - layer_t layer = tvp.second; - - if (tv && tv->layer_display() == Overlaid) { - layer = 0; - } /* The region motion is only processed if the pointer is over an audio track. |