summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-11 16:59:26 +0000
committerDavid Robillard <d@drobilla.net>2008-10-11 16:59:26 +0000
commit1f765c2ae28488022501d73a7f632ba1e86604f4 (patch)
tree67f7b7406aad17823079564a001300d7841de7de /gtk2_ardour
parentccc3461a580324055684f598d439209fe951b574 (diff)
Fix warning (unused variable).
git-svn-id: svn://localhost/ardour2/branches/3.0@3928 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_mouse.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mouse.cc b/gtk2_ardour/editor_mouse.cc
index 5321a9c308..48cd393c4c 100644
--- a/gtk2_ardour/editor_mouse.cc
+++ b/gtk2_ardour/editor_mouse.cc
@@ -3141,7 +3141,6 @@ Editor::line_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event)
dy *= 0.1;
}
- double cx = drag_info.current_pointer_x;
double cy = drag_info.grab_y + drag_info.cumulative_y_drag + dy;
// calculate zero crossing point. back off by .01 to stay on the