summaryrefslogtreecommitdiffstats
path: root/halimpl
diff options
context:
space:
mode:
authorAlessandro Astone <ales.astone@gmail.com>2019-09-08 15:11:55 +0200
committerAlessandro Astone <ales.astone@gmail.com>2019-09-08 15:11:55 +0200
commit9e959f33d67d3beb8ba488ebd424c8d6f51b0e40 (patch)
tree6caed7d4746b5e612661a0f7f28b185ea92724ce /halimpl
parent54588579843e7b00745eec2d870a0d8fbe3942d3 (diff)
downloadandroid_hardware_broadcom_nfc-9e959f33d67d3beb8ba488ebd424c8d6f51b0e40.tar.gz
android_hardware_broadcom_nfc-9e959f33d67d3beb8ba488ebd424c8d6f51b0e40.tar.bz2
android_hardware_broadcom_nfc-9e959f33d67d3beb8ba488ebd424c8d6f51b0e40.zip
nfc: inform compilers of deliberate fallthrough
Change-Id: Ibd2555da5ae7a71da42ce4d54ea9158f490b002c
Diffstat (limited to 'halimpl')
-rw-r--r--halimpl/bcm2079x/adaptation/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/halimpl/bcm2079x/adaptation/config.cpp b/halimpl/bcm2079x/adaptation/config.cpp
index c8510b6..eea8076 100644
--- a/halimpl/bcm2079x/adaptation/config.cpp
+++ b/halimpl/bcm2079x/adaptation/config.cpp
@@ -264,7 +264,7 @@ bool CNfcConfig::readConfig(const char* name, bool bResetContent) {
break;
}
// fal through to numValue to handle numValue
-
+ [[fallthrough]];
case NUM_VALUE:
if (isDigit(c, base)) {
numValue *= base;