Remove test that will never fire.
authorCarl Hetherington <carl@carlh.net>
Sun, 25 Jul 2010 01:47:18 +0000 (01:47 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 25 Jul 2010 01:47:18 +0000 (01:47 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7489 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/evoral/src/ControlList.cpp

index 4a710cfbb063221af71d9a76c40d4d9b54f60c61..78d0d2d845e5569fe24570de3c1e9f7b72b2976e 100644 (file)
@@ -1036,10 +1036,6 @@ ControlList::rt_safe_earliest_event_linear_unlocked (double start, double end, d
                const ControlEvent* first = NULL;
                const ControlEvent* next = NULL;
 
-               /* No events past start (maybe?) */
-               if (next && next->when < start)
-                       return false;
-
                /* Step is after first */
                if (range.first == _events.begin() || (*range.first)->when == start) {
                        first = *range.first;