extend comments to avoid unused-variable warnings from commented code
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 19:10:24 +0000 (15:10 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 5 Jun 2016 20:33:01 +0000 (16:33 -0400)
libs/ardour/automation_control.cc

index 7dc39114a223aa10c46d7ab34bb8b0c10d1910ed..2be0538229e89ca92754d4d455d9a086634996d8 100644 (file)
@@ -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;