summaryrefslogtreecommitdiff
path: root/gtk2_ardour/meter_patterns.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-18 17:27:56 +0200
committerRobin Gareus <robin@gareus.org>2019-09-18 17:38:01 +0200
commitca4b6bb7e90bc88b6f4a72d50f1a33f9674cbdc6 (patch)
treeaf7f112e33472d1a054b2a48e46662a99e36a334 /gtk2_ardour/meter_patterns.cc
parente0d5c1426c4ecad8832847e8a69b65ea6fc100fc (diff)
NO-OP: fix some Wimplicit-fallthrough, see prev commit
Diffstat (limited to 'gtk2_ardour/meter_patterns.cc')
-rw-r--r--gtk2_ardour/meter_patterns.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/meter_patterns.cc b/gtk2_ardour/meter_patterns.cc
index 7f12f16b19..e91b2579a8 100644
--- a/gtk2_ardour/meter_patterns.cc
+++ b/gtk2_ardour/meter_patterns.cc
@@ -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"));