diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 15:10:24 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 16:33:01 -0400 |
commit | 58f6b98662b34a725b6a5c1e9bfb7ddd66442715 (patch) | |
tree | 53faaf33a30b3924fa8d830a13c7724098548688 /libs | |
parent | e4a588901b3015b330321f73ce837f55dfef7e04 (diff) |
extend comments to avoid unused-variable warnings from commented code
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/automation_control.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index 7dc39114a2..2be0538229 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -118,12 +118,11 @@ void AutomationControl::actually_set_value (double value, PBD::Controllable::GroupControlDisposition gcd) { bool to_list = _list && boost::dynamic_pointer_cast<AutomationList>(_list)->automation_write(); - const double old_value = Control::user_double (); + //const double old_value = Control::user_double (); Control::set_double (value, _session.transport_frame(), to_list); - AutomationType at = (AutomationType) _parameter.type(); - + //AutomationType at = (AutomationType) _parameter.type(); //std::cerr << "++++ Changed (" << enum_2_string (at) << ", " << enum_2_string (gcd) << ") = " << value //<< " (was " << old_value << ") @ " << this << std::endl; |