No-op; coding style.
git-svn-id: svn://localhost/ardour2/branches/3.0@9474 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4216d201fb
commit
09c0014790
|
@ -328,7 +328,7 @@ ControlProtocolManager::set_state (const XMLNode& node, int /*version*/)
|
|||
}
|
||||
|
||||
XMLNode&
|
||||
ControlProtocolManager::get_state (void)
|
||||
ControlProtocolManager::get_state ()
|
||||
{
|
||||
XMLNode* root = new XMLNode (state_node_name);
|
||||
Glib::Mutex::Lock lm (protocols_lock);
|
||||
|
@ -342,12 +342,10 @@ ControlProtocolManager::get_state (void)
|
|||
child->add_property (X_("active"), "yes");
|
||||
// should we update (*i)->state here? probably.
|
||||
root->add_child_nocopy (*child);
|
||||
}
|
||||
else if ((*i)->state) {
|
||||
} else if ((*i)->state) {
|
||||
// keep ownership clear
|
||||
root->add_child_copy (*(*i)->state);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
child = new XMLNode (X_("Protocol"));
|
||||
child->add_property (X_("name"), (*i)->name);
|
||||
child->add_property (X_("active"), "no");
|
||||
|
|
Loading…
Reference in New Issue
Block a user