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(_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;