From cb413146428ce5db5e281d70f2b3b7df27c1aaab Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 11 Apr 2008 14:06:50 +0000 Subject: merge 3.0 from 2.0-ongoing@3243 git-svn-id: svn://localhost/ardour2/branches/3.0@3248 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/automation_event.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libs/ardour/automation_event.cc') diff --git a/libs/ardour/automation_event.cc b/libs/ardour/automation_event.cc index ccf3c35104..99e44340c5 100644 --- a/libs/ardour/automation_event.cc +++ b/libs/ardour/automation_event.cc @@ -685,7 +685,7 @@ AutomationList::truncate_end (double last_coordinate) { Glib::Mutex::Lock lm (_lock); ControlEvent cp (last_coordinate, 0); - list::reverse_iterator i; + AutomationList::reverse_iterator i; double last_val; if (_events.empty()) { @@ -754,7 +754,7 @@ AutomationList::truncate_end (double last_coordinate) uint32_t sz = _events.size(); while (i != _events.rend() && sz > 2) { - list::reverse_iterator tmp; + AutomationList::reverse_iterator tmp; tmp = i; ++tmp; @@ -851,7 +851,7 @@ AutomationList::truncate_start (double overall_length) i = _events.begin(); while (i != _events.end() && !_events.empty()) { - list::iterator tmp; + AutomationList::iterator tmp; tmp = i; ++tmp; @@ -948,6 +948,9 @@ AutomationList::unlocked_eval (double x) const return multipoint_eval (x); break; } + + /*NOTREACHED*/ /* stupid gcc */ + return 0.0; } double -- cgit v1.2.3