summaryrefslogtreecommitdiff
path: root/libs/ardour/session_playlists.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-10-26 14:30:26 +0200
committerRobin Gareus <robin@gareus.org>2018-10-26 14:53:44 +0200
commitc98fc1099d151f9d16a2dc8d2b59d16ea539bb21 (patch)
treea711dfd008aba013520dce2c57ba2dbef08e40a2 /libs/ardour/session_playlists.cc
parent08d205c533fa3380a97d646b3a50c9f9426f3a80 (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.cc2
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);