From 26d2c8a7fa3e07b9532b026dd009b74289c48215 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Jun 2022 18:43:35 -0600 Subject: [PATCH] handle compiler stupidity with early return --- libs/surfaces/push2/track_mix.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/surfaces/push2/track_mix.cc b/libs/surfaces/push2/track_mix.cc index 8c03f232cf..afb3aee768 100644 --- a/libs/surfaces/push2/track_mix.cc +++ b/libs/surfaces/push2/track_mix.cc @@ -428,6 +428,8 @@ TrackMixLayout::monitoring_change () b1_color = selection_color; b2_color = selection_color; break; + default: + return; /* stupid compilers */ } b1->set_color (b1_color);