diff options
author | Robin Gareus <robin@gareus.org> | 2018-10-26 14:30:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-10-26 14:53:44 +0200 |
commit | c98fc1099d151f9d16a2dc8d2b59d16ea539bb21 (patch) | |
tree | a711dfd008aba013520dce2c57ba2dbef08e40a2 /libs/ardour/session_playlists.cc | |
parent | 08d205c533fa3380a97d646b3a50c9f9426f3a80 (diff) |
Fix some Wimplicit-fallthrough
A "fall through" comment is most portable way to indicate
"no break, fallthru" cases.
* __attribute__ ((fallthrough)) // is not portable
* [[fallthrough]]; // is C++17
Diffstat (limited to 'libs/ardour/session_playlists.cc')
-rw-r--r-- | libs/ardour/session_playlists.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_playlists.cc b/libs/ardour/session_playlists.cc index 50bc710347..2f66cd61b2 100644 --- a/libs/ardour/session_playlists.cc +++ b/libs/ardour/session_playlists.cc @@ -400,8 +400,8 @@ SessionPlaylists::maybe_delete_unused (boost::function<int(boost::shared_ptr<Pla case 2: // delete this and all later delete_remaining = true; - // no break; + /* fall through */ case 1: // delete this playlists_tbd.push_back (*x); |