summaryrefslogtreecommitdiff
path: root/libs/ardour/automation_list.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-24 01:22:50 +0200
committerRobin Gareus <robin@gareus.org>2017-07-24 01:59:18 +0200
commitfde0e293a30ed4e689208b456a4431b7bb278eb4 (patch)
tree93686a5c6e7df13ea7acd577c8de402ee4a6947f /libs/ardour/automation_list.cc
parentf04bacdfac885e927809ee0d3a323defda42033b (diff)
Remove unused "mark" parameter from stop_touch() API
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r--libs/ardour/automation_list.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc
index 27bc64462e..74181d5514 100644
--- a/libs/ardour/automation_list.cc
+++ b/libs/ardour/automation_list.cc
@@ -257,7 +257,7 @@ AutomationList::start_touch (double when)
}
void
-AutomationList::stop_touch (bool mark, double)
+AutomationList::stop_touch (double)
{
if (g_atomic_int_get (&_touching) == 0) {
/* this touch has already been stopped (probably by Automatable::transport_stopped),
@@ -267,16 +267,6 @@ AutomationList::stop_touch (bool mark, double)
}
g_atomic_int_set (&_touching, 0);
-
- if (_state == Touch) {
-
- if (mark) {
-
- /* XXX need to mark the last added point with the
- * current time
- */
- }
- }
}
/* _before may be owned by the undo stack,