From: Paul Davis Date: Tue, 21 Feb 2017 17:50:32 +0000 (+0100) Subject: fix thinko/typo which failed to notify when a VCA is unassigned X-Git-Tag: 5.7~62 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=db7cf8ef1443e102e05d3ac99e9f8f4167c18286;p=ardour.git fix thinko/typo which failed to notify when a VCA is unassigned --- diff --git a/libs/ardour/slavable_automation_control.cc b/libs/ardour/slavable_automation_control.cc index 9acf7444ad..c67cb64188 100644 --- a/libs/ardour/slavable_automation_control.cc +++ b/libs/ardour/slavable_automation_control.cc @@ -263,8 +263,6 @@ SlavableAutomationControl::master_going_away (boost::weak_ptr void SlavableAutomationControl::remove_master (boost::shared_ptr m) { - Masters::size_type erased = 0; - pre_remove_master (m); { @@ -298,9 +296,7 @@ SlavableAutomationControl::remove_master (boost::shared_ptr m return; } - if (erased) { - MasterStatusChange (); /* EMIT SIGNAL */ - } + MasterStatusChange (); /* EMIT SIGNAL */ /* no need to update boolean masters records, since the MR will have * been removed already.