mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
NO-OP: fix some Wimplicit-fallthrough, see prev commit
This commit is contained in:
parent
e0d5c1426c
commit
ca4b6bb7e9
4 changed files with 9 additions and 9 deletions
|
|
@ -2736,7 +2736,7 @@ If you still wish to proceed, please use the\n\n\
|
||||||
msg.run ();
|
msg.run ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* fall through */
|
/* fallthrough */
|
||||||
case 0:
|
case 0:
|
||||||
_session->remove_pending_capture_state ();
|
_session->remove_pending_capture_state ();
|
||||||
break;
|
break;
|
||||||
|
|
@ -2932,7 +2932,7 @@ If you still wish to proceed, please use the\n\n\
|
||||||
msg.run ();
|
msg.run ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* fall through */
|
/* fallthrough */
|
||||||
case 0:
|
case 0:
|
||||||
_session->remove_pending_capture_state ();
|
_session->remove_pending_capture_state ();
|
||||||
break;
|
break;
|
||||||
|
|
@ -5493,7 +5493,7 @@ ARDOUR_UI::do_audio_midi_setup (uint32_t desired_sample_rate)
|
||||||
if (!AudioEngine::instance()->running()) {
|
if (!AudioEngine::instance()->running()) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
// fall through
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
if (!AudioEngine::instance()->running()) {
|
if (!AudioEngine::instance()->running()) {
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
|
|
@ -520,7 +520,7 @@ AudioClock::end_edit (bool modify)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case Seconds:
|
case Seconds:
|
||||||
/* fall through */
|
/* fallthrough */
|
||||||
case Samples:
|
case Samples:
|
||||||
if (edit_string.length() < 1) {
|
if (edit_string.length() < 1) {
|
||||||
edit_string = pre_edit_string;
|
edit_string = pre_edit_string;
|
||||||
|
|
|
||||||
|
|
@ -4854,7 +4854,7 @@ Editor::get_preferred_edit_position (EditIgnoreOption ignore, bool from_context_
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* fallthru */
|
/* fallthrough */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
case EditAtMouse:
|
case EditAtMouse:
|
||||||
|
|
|
||||||
|
|
@ -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>( 3, 1.0));
|
||||||
points.insert (std::pair<float,float>( 4, 0.5));
|
points.insert (std::pair<float,float>( 4, 0.5));
|
||||||
points.insert (std::pair<float,float>( 5, 0.5));
|
points.insert (std::pair<float,float>( 5, 0.5));
|
||||||
/* fall through */
|
/* fallthrough */
|
||||||
case MeterPeak0dB:
|
case MeterPeak0dB:
|
||||||
points.insert (std::pair<float,float>(-60, 0.5));
|
points.insert (std::pair<float,float>(-60, 0.5));
|
||||||
points.insert (std::pair<float,float>(-50, 1.0));
|
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"));
|
points.insert (std::pair<float,string>( 0.0f, "+20"));
|
||||||
break;
|
break;
|
||||||
case MeterPeak:
|
case MeterPeak:
|
||||||
/* fall through */
|
/* fallthrough */
|
||||||
case MeterKrms:
|
case MeterKrms:
|
||||||
/* fall through */
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
points.insert (std::pair<float,string>( 3.0f, "+3"));
|
points.insert (std::pair<float,string>( 3.0f, "+3"));
|
||||||
/* fall through */
|
/* fallthrough */
|
||||||
case MeterPeak0dB:
|
case MeterPeak0dB:
|
||||||
points.insert (std::pair<float,string>(-50.0f, "-50"));
|
points.insert (std::pair<float,string>(-50.0f, "-50"));
|
||||||
points.insert (std::pair<float,string>(-40.0f, "-40"));
|
points.insert (std::pair<float,string>(-40.0f, "-40"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue