diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-18 17:27:09 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-18 17:37:54 +0200 |
commit | e0d5c1426c4ecad8832847e8a69b65ea6fc100fc (patch) | |
tree | a1f7fe3bf4518ec61d501c9a3bf4b96e8704a390 /libs/widgets | |
parent | 37194ec805807143c2d9cb4a76ab7f258a3d0622 (diff) |
NO-OP: fix some Wimplicit-fallthrough
gcc can recognize various regexps in comments. Since C++17 provides
[[fallthrough]], using /* fallthrough */ consistently seems
appropriate until we switch to C++17.
see also https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
Diffstat (limited to 'libs/widgets')
-rw-r--r-- | libs/widgets/ardour_icon.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/widgets/ardour_icon.cc b/libs/widgets/ardour_icon.cc index 6307c3eaef..2f96b97470 100644 --- a/libs/widgets/ardour_icon.cc +++ b/libs/widgets/ardour_icon.cc @@ -1315,9 +1315,9 @@ ArdourWidgets::ArdourIcon::render (cairo_t *cr, 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; @@ -1352,9 +1352,9 @@ ArdourWidgets::ArdourIcon::render (cairo_t *cr, 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; |