summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.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/automatable.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/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index 65b83b4b6e..2f60024ff0 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -333,7 +333,7 @@ Automatable::protect_automation ()
l->set_automation_state (Off);
break;
case Latch:
- // no break
+ /* fall through */
case Touch:
l->set_automation_state (Play);
break;