summaryrefslogtreecommitdiffstats
path: root/broadcastradio
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-10-19 14:24:58 -0700
committerChih-Hung Hsieh <chh@google.com>2018-10-19 14:24:58 -0700
commit63f4fe65b2ad684cd1e8bf5d5dc26229a4d320ab (patch)
tree7509a54907a4a987dae01bc28418df02957604f9 /broadcastradio
parent591171a65982b3df98dba4d928f18e8837c238d0 (diff)
downloadandroid_hardware_interfaces-63f4fe65b2ad684cd1e8bf5d5dc26229a4d320ab.tar.gz
android_hardware_interfaces-63f4fe65b2ad684cd1e8bf5d5dc26229a4d320ab.tar.bz2
android_hardware_interfaces-63f4fe65b2ad684cd1e8bf5d5dc26229a4d320ab.zip
Fix implicit-fallthrough warnings.
Test: make checkbuild Bug: 112564944 Change-Id: Ifc8b7444b95d667b0d185c7d45b3f15278d4af2f
Diffstat (limited to 'broadcastradio')
-rw-r--r--broadcastradio/common/utils2x/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/broadcastradio/common/utils2x/Utils.cpp b/broadcastradio/common/utils2x/Utils.cpp
index 3e20b357f..f292c0855 100644
--- a/broadcastradio/common/utils2x/Utils.cpp
+++ b/broadcastradio/common/utils2x/Utils.cpp
@@ -215,7 +215,7 @@ bool isValid(const ProgramIdentifier& id) {
break;
case IdentifierType::DAB_FREQUENCY:
expect(val > 100000u, "f > 100MHz");
- // fallthrough
+ [[fallthrough]];
case IdentifierType::AMFM_FREQUENCY:
case IdentifierType::DRMO_FREQUENCY:
expect(val > 100u, "f > 100kHz");