Remove unused code

It that was apparently accidentally added in a git-rebase
in 6fd791423b.
This commit is contained in:
Robin Gareus
2021-10-02 23:41:28 +02:00
parent c550a400b1
commit 56056f5590

View File

@@ -3030,18 +3030,6 @@ ProcessorBox::add_processor_to_display (boost::weak_ptr<Processor> p)
e->set_selectable(false);
}
bool mark_send_visible = false;
if (send && _parent_strip) {
/* show controls of new sends by default */
GUIObjectState& st = _parent_strip->gui_object_state ();
XMLNode* strip = st.get_or_add_node (_parent_strip->state_id ());
assert (strip);
/* check if state exists, if not it must be a new send */
if (!st.get_node(strip, e->state_id())) {
mark_send_visible = true;
}
}
/* Set up this entry's state from the GUIObjectState */
XMLNode* proc = entry_gui_object_state (e);
if (proc) {