case kEventControlSetFocusPart: // tab
handled = !handled; // fall through to next case
mLastControl = this;
+ /* fallthrough */
case kEventControlValueFieldChanged:
GetEventParameter(event, kEventParamDirectObject, typeControlRef, NULL, sizeof(ControlRef), NULL, &control);
verify(control == mControl);
l->set_automation_state (Off);
break;
case Latch:
- /* fall through */
+ /* fallthrough */
case Touch:
l->set_automation_state (Play);
break;
}
// invalid userdata -- fall through
}
- /* fall through */
+ /* fallthrough */
case LUA_TFUNCTION: // no support -- we could... string.format("%q", string.dump(value, true))
- /* fall through */
+ /* fallthrough */
case LUA_TTABLE: // no nested tables, sorry.
case LUA_TNIL:
default:
// delete this and all later
delete_remaining = true;
- /* fall through */
+ /* fallthrough */
case 1:
// delete this
playlists_tbd.push_back (*x);
case 3:
no_questions_about_missing_files = true;
- /* fallthru */
+ /* fallthrough */
case -1:
default:
switch (h.size) {
case 3:
message |= (((DWORD)data[2]) << 16);
- // Fallthrough on purpose.
+ /* fallthrough */
case 2:
message |= (((DWORD)data[1]) << 8);
- // Fallthrough on purpose.
+ /* fallthrough */
case 1:
message |= (DWORD)data[0];
result = midiOutShortMsg (m_handle, message);
static GtkStyleClass *clearlooks_parent_class;
static void
-clearlooks_set_widget_parameters (GtkWidget *widget,
+clearlooks_set_widget_parameters (GtkWidget *widget,
const GtkStyle *style,
GtkStateType state_type,
WidgetParameters *params)
{
case GTK_PROGRESS_RIGHT_TO_LEFT:
tmp.x -= 1;
+ /* fallthrough */
case GTK_PROGRESS_LEFT_TO_RIGHT:
tmp.width += 1;
break;
case GTK_PROGRESS_BOTTOM_TO_TOP:
tmp.y -= 1;
+ /* fallthrough */
case GTK_PROGRESS_TOP_TO_BOTTOM:
tmp.height += 1;
break;
// any discrete vector curves somewhere?
assert (0);
case ControlList::Curved:
- // fallthrough, no 2 point spline
+ /* no 2 point spline */
+ /* fallthrough */
default: // Linear:
for (int i = 0; i < veclen; ++i) {
vec[i] = (lx * (m_num / m_den) + m_num * i * dx_num / (m_den * dx_den)) + c;
// any discrete vector curves somewhere?
assert (0);
case ControlList::Curved:
- // fallthrough, no 2 point spline
+ /* no 2 point spline */
+ /* fallthrough */
default: // Linear:
vec[0] = interpolate_linear (lval, uval, fraction);
break;
double x2 = x * x;
return ev->coeff[0] + (ev->coeff[1] * x) + (ev->coeff[2] * x2) + (ev->coeff[3] * x2 * x);
}
- /* fall through */
+ /* fallthrough */
case ControlList::Linear:
return before->value + (vdelta * (tdelta / trange));
}
case GDK_NOTIFY_VIRTUAL:
DEBUG_TRACE (DEBUG::Keyboard, "VIRTUAL crossing ... out\n");
- /* fallthru */
+ /* fallthrough */
default:
DEBUG_TRACE (DEBUG::Keyboard, "REAL crossing ... out\n");
case NEEDTWOBYTES:
/* wait for the second byte */
- if (msgindex < 3)
+ if (msgindex < 3) {
return;
- /*FALLTHRU*/
+ }
+ /* fallthrough */
case NEEDONEBYTE:
/* We've completed a 1 or 2 byte message. */
break;
default:
assert (0);
- // fall through
+ /* fallthrough */
case MixAll:
allow_master = true;
flt = &flt_all;
} else {
linkid = argv[8]->i;
}
+ /* fallthrough */
case 8:
if (types[7] == 'f') {
linkset = (int) argv[7]->f;
} else {
linkset = argv[7]->i;
}
+ /* fallthrough */
case 7:
if (types[6] == 'f') {
port = (int) argv[6]->f;
} else {
port = argv[6]->i;
}
+ /* fallthrough */
case 6:
if (types[5] == 'f') {
pi_page = (int) argv[5]->f;
} else {
pi_page = argv[5]->i;
}
+ /* fallthrough */
case 5:
if (types[4] == 'f') {
se_page = (int) argv[4]->f;
} else {
se_page = argv[4]->i;
}
+ /* fallthrough */
case 4:
if (types[3] == 'f') {
fadermode = (int) argv[3]->f;
} else {
fadermode = argv[3]->i;
}
+ /* fallthrough */
case 3:
if (types[2] == 'f') {
feedback = (int) argv[2]->f;
} else {
feedback = argv[2]->i;
}
- // [[fallthrough]]; old compiler doesn't like
+ /* fallthrough */
case 2:
if (types[1] == 'f') {
strip_types = (int) argv[1]->f;
} else {
strip_types = argv[1]->i;
}
+ /* fallthrough */
case 1:
if (types[0] == 'f') {
bank_size = (int) argv[0]->f;
icon_transport_panic (cr, width, height);
break;
case TransportStart:
- /* fall through */
+ /* fallthrough */
case TransportEnd:
- /* fall through */
+ /* fallthrough */
case TransportRange:
icon_transport_ck (cr, icon, width, height);
break;
icon_nudge_right (cr, width, height, fg_color);
break;
case ZoomIn:
- /* fall through */
+ /* fallthrough */
case ZoomOut:
- /* fall through */
+ /* fallthrough */
case ZoomFull:
icon_zoom (cr, icon, width, height, fg_color);
break;
settings._sample_format = ExportFormatBase::SF_Float;
break;
}
- /* fall through */
+ /* fallthrough */
default:
fprintf(stderr, "Invalid Bit Depth\n");
break;
// invalid userdata -- fall through
}
- /* fall through */
+ /* fallthrough */
case LUA_TFUNCTION: // no support -- we could... string.format("%q", string.dump(value, true))
case LUA_TTABLE: // no nested tables, sorry.
- case LUA_TNIL: // fallthrough
+ case LUA_TNIL:
+ /* fallthrough */
default:
// invalid value
lua_pop (L, 2);