summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-02-21 18:50:32 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-02-21 18:50:32 +0100
commitdb7cf8ef1443e102e05d3ac99e9f8f4167c18286 (patch)
tree4df8e930a7e6eb12d98e4ffe8c8bc0c47eef18ed /libs
parent419006dd834827f22be9a73753c2355214b3cdc9 (diff)
fix thinko/typo which failed to notify when a VCA is unassigned
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/slavable_automation_control.cc6
1 files changed, 1 insertions, 5 deletions
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<AutomationControl>
void
SlavableAutomationControl::remove_master (boost::shared_ptr<AutomationControl> m)
{
- Masters::size_type erased = 0;
-
pre_remove_master (m);
{
@@ -298,9 +296,7 @@ SlavableAutomationControl::remove_master (boost::shared_ptr<AutomationControl> 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.