aboutsummaryrefslogtreecommitdiff
path: root/hals/keymaster/proto_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hals/keymaster/proto_utils.cpp')
-rw-r--r--hals/keymaster/proto_utils.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/hals/keymaster/proto_utils.cpp b/hals/keymaster/proto_utils.cpp
index a1fbfb0..03c7b43 100644
--- a/hals/keymaster/proto_utils.cpp
+++ b/hals/keymaster/proto_utils.cpp
@@ -789,9 +789,11 @@ ErrorCode hidl_params_to_map(const hidl_vec<KeyParameter>& params,
// Duplicates not allowed for these tags types.
return ErrorCode::INVALID_ARGUMENT;
}
- /* Fall-through! */
+ FALLTHROUGH_INTENDED;
case TagType::ENUM_REP:
+ FALLTHROUGH_INTENDED;
case TagType::UINT_REP:
+ FALLTHROUGH_INTENDED;
case TagType::ULONG_REP:
if (tag_map->find(params[i].tag) == tag_map->end()) {
vector<KeyParameter> v{params[i]};