13
0

NO-OP: fix some Wimplicit-fallthrough, see prev commit

This commit is contained in:
Robin Gareus 2019-09-18 17:27:56 +02:00
parent e0d5c1426c
commit ca4b6bb7e9
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
4 changed files with 9 additions and 9 deletions

View File

@ -2736,7 +2736,7 @@ If you still wish to proceed, please use the\n\n\
msg.run ();
return;
}
/* fall through */
/* fallthrough */
case 0:
_session->remove_pending_capture_state ();
break;
@ -2932,7 +2932,7 @@ If you still wish to proceed, please use the\n\n\
msg.run ();
return;
}
/* fall through */
/* fallthrough */
case 0:
_session->remove_pending_capture_state ();
break;
@ -5493,7 +5493,7 @@ ARDOUR_UI::do_audio_midi_setup (uint32_t desired_sample_rate)
if (!AudioEngine::instance()->running()) {
return -1;
}
// fall through
/* fallthrough */
default:
if (!AudioEngine::instance()->running()) {
continue;

View File

@ -520,7 +520,7 @@ AudioClock::end_edit (bool modify)
break;
case Seconds:
/* fall through */
/* fallthrough */
case Samples:
if (edit_string.length() < 1) {
edit_string = pre_edit_string;

View File

@ -4854,7 +4854,7 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_
break;
}
}
/* fallthru */
/* fallthrough */
default:
case EditAtMouse:

View File

@ -516,7 +516,7 @@ meter_render_ticks (Gtk::Widget& w, MeterType type, vector<ARDOUR::DataType> typ
points.insert (std::pair<float,float>( 3, 1.0));
points.insert (std::pair<float,float>( 4, 0.5));
points.insert (std::pair<float,float>( 5, 0.5));
/* fall through */
/* fallthrough */
case MeterPeak0dB:
points.insert (std::pair<float,float>(-60, 0.5));
points.insert (std::pair<float,float>(-50, 1.0));
@ -752,12 +752,12 @@ meter_render_metrics (Gtk::Widget& w, MeterType type, vector<DataType> types)
points.insert (std::pair<float,string>( 0.0f, "+20"));
break;
case MeterPeak:
/* fall through */
/* fallthrough */
case MeterKrms:
/* fall through */
/* fallthrough */
default:
points.insert (std::pair<float,string>( 3.0f, "+3"));
/* fall through */
/* fallthrough */
case MeterPeak0dB:
points.insert (std::pair<float,string>(-50.0f, "-50"));
points.insert (std::pair<float,string>(-40.0f, "-40"));