diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 134ee5bed5..f39748d3bc 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -1890,6 +1890,8 @@ TriggerBox::set_region (uint32_t slot, boost::shared_ptr region) case DataType::MIDI: t = new MIDITrigger (slot, *this); break; + default: + return; } t->set_region_in_worker_thread (region);