stop DEBUG_TRACE for MackieControl crashing in some conditions

This commit is contained in:
Paul Davis 2017-01-31 19:16:35 +01:00
parent 0d72fe65a2
commit 1c9df390bc

View file

@ -2043,7 +2043,8 @@ MackieControlProtocol::select_range (uint32_t pressed)
pull_stripable_range (_down_select_buttons, stripables, pressed);
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("select range: found %1 stripables, first = %2\n", stripables.size(), stripables.front()->name()));
DEBUG_TRACE (DEBUG::MackieControl, string_compose ("select range: found %1 stripables, first = %2\n", stripables.size(),
(stripables.empty() ? "null" : stripables.front()->name())));
if (stripables.empty()) {
return;