summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-07-02 17:16:46 +0000
committerCarl Hetherington <carl@carlh.net>2011-07-02 17:16:46 +0000
commitcd17e05e3a22614387050736c89a4727c4da0d61 (patch)
treef224ba7c78d83a9abc5d1c8ecf7bedb31005ed74 /gtk2_ardour/editor_ops.cc
parentc03ea1fdb307fadff2b3c3f837426f1039bf5b10 (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_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 2427f53962..8ac44a8eff 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -1936,7 +1936,6 @@ Editor::insert_route_list_drag (boost::shared_ptr<Route> route, int x, int y)
{
double wx, wy;
double cx, cy;
- framepos_t where;
RouteTimeAxisView *dest_rtv = 0;
RouteTimeAxisView *source_rtv = 0;
@@ -1949,7 +1948,7 @@ Editor::insert_route_list_drag (boost::shared_ptr<Route> route, int x, int y)
event.button.x = wx;
event.button.y = wy;
- where = event_frame (&event, &cx, &cy);
+ event_frame (&event, &cx, &cy);
std::pair<TimeAxisView*, int> const tv = trackview_by_y_position (cy);
if (tv.first == 0) {