handle compiler stupidity with early return
This commit is contained in:
parent
f7b91d577b
commit
7a32ff33d4
@ -1297,7 +1297,7 @@ void LaunchControlXL::set_track_mode (TrackMode mode) {
|
||||
color_off = RedLow;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
return; /* stupid compilers */
|
||||
}
|
||||
|
||||
for ( size_t n = 0 ; n < sizeof (trk_cntrl_btns) / sizeof (trk_cntrl_btns[0]); ++n) {
|
||||
|
Loading…
Reference in New Issue
Block a user