From b68fd1cc259eed8d6f67ce38458d95710063f24b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Nov 2014 21:41:06 -0500 Subject: Remove dead code. --- libs/evoral/src/ControlList.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libs/evoral/src') diff --git a/libs/evoral/src/ControlList.cpp b/libs/evoral/src/ControlList.cpp index 2113755874..b1f10410ad 100644 --- a/libs/evoral/src/ControlList.cpp +++ b/libs/evoral/src/ControlList.cpp @@ -453,10 +453,6 @@ ControlList::editor_add (double when, double value) /* this is for making changes from a graphical line editor */ - if (!clamp_value (when, value)) { - return; - } - if (_events.empty()) { /* as long as the point we're adding is not at zero, @@ -487,10 +483,6 @@ ControlList::add (double when, double value, bool with_guards, bool with_default control surface (GUI, MIDI, OSC etc) */ - if (!clamp_value (when, value)) { - return; - } - DEBUG_TRACE (DEBUG::ControlList, string_compose ("@%1 add %2 at %3 w/erase = %4 (new ? %6) at end ? %5\n", this, value, when, _in_write_pass, (most_recent_insert_iterator == _events.end()), new_write_pass)); { -- cgit v1.2.3