summaryrefslogtreecommitdiff
path: root/libs/evoral/src/ControlList.cpp
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-04-04 00:15:41 +0000
committerCarl Hetherington <carl@carlh.net>2012-04-04 00:15:41 +0000
commitdaad719546d96bfe9ce7e8e1b7fc8f66c4189b71 (patch)
tree1e3384aa7f0625ac1ad1c78477c277e4ac7d9f5d /libs/evoral/src/ControlList.cpp
parent37117e5c45d72dadbe028a7f02d19d43e5b989f2 (diff)
Remove ControlList::_max_xval which is set up and stored in
state but never actually read. git-svn-id: svn://localhost/ardour2/branches/3.0@11787 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/ControlList.cpp')
-rw-r--r--libs/evoral/src/ControlList.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/libs/evoral/src/ControlList.cpp b/libs/evoral/src/ControlList.cpp
index c31bd3421d..59792f732f 100644
--- a/libs/evoral/src/ControlList.cpp
+++ b/libs/evoral/src/ControlList.cpp
@@ -43,7 +43,6 @@ ControlList::ControlList (const Parameter& id)
_changed_when_thawed = false;
_min_yval = id.min();
_max_yval = id.max();
- _max_xval = 0; // means "no limit"
_default_value = 0;
_lookup_cache.left = -1;
_lookup_cache.range.first = _events.end();
@@ -61,7 +60,6 @@ ControlList::ControlList (const ControlList& other)
_changed_when_thawed = false;
_min_yval = other._min_yval;
_max_yval = other._max_yval;
- _max_xval = other._max_xval;
_default_value = other._default_value;
_lookup_cache.range.first = _events.end();
_search_cache.first = _events.end();
@@ -83,7 +81,6 @@ ControlList::ControlList (const ControlList& other, double start, double end)
_changed_when_thawed = false;
_min_yval = other._min_yval;
_max_yval = other._max_yval;
- _max_xval = other._max_xval;
_default_value = other._default_value;
_lookup_cache.range.first = _events.end();
_search_cache.first = _events.end();
@@ -143,7 +140,6 @@ ControlList::operator= (const ControlList& other)
_min_yval = other._min_yval;
_max_yval = other._max_yval;
- _max_xval = other._max_xval;
_default_value = other._default_value;
mark_dirty ();
@@ -724,12 +720,6 @@ ControlList::control_points_adjacent (double xval)
}
void
-ControlList::set_max_xval (double x)
-{
- _max_xval = x;
-}
-
-void
ControlList::freeze ()
{
_frozen++;