From fde0e293a30ed4e689208b456a4431b7bb278eb4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 24 Jul 2017 01:22:50 +0200 Subject: Remove unused "mark" parameter from stop_touch() API --- libs/ardour/automation_list.cc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'libs/ardour/automation_list.cc') 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, -- cgit v1.2.3