Fix implicit-fallthrough warnings.
Test: make checkbuild
Bug: 112564944
Change-Id: I6f8aa27f6f6c15e9e6083128d9ab146355ddd190
diff --git a/1.0/adaptation/config.cpp b/1.0/adaptation/config.cpp
index c75d013..96c452d 100644
--- a/1.0/adaptation/config.cpp
+++ b/1.0/adaptation/config.cpp
@@ -265,7 +265,7 @@
state = END_LINE;
break;
}
- // fal through to numValue to handle numValue
+ [[fallthrough]]; // fall through to numValue to handle numValue
case NUM_VALUE:
if (isDigit(c, base)) {
diff --git a/st21nfc/adaptation/config.cpp b/st21nfc/adaptation/config.cpp
index d985206..224b9a9 100644
--- a/st21nfc/adaptation/config.cpp
+++ b/st21nfc/adaptation/config.cpp
@@ -266,7 +266,7 @@
state = END_LINE;
break;
}
- // fal through to numValue to handle numValue
+ [[fallthrough]]; // fall through to numValue to handle numValue
case NUM_VALUE:
if (isDigit(c, base)) {