diff options
author | André Draszik <draszik@google.com> | 2023-07-26 15:24:39 +0100 |
---|---|---|
committer | Will McVicker <willmcvicker@google.com> | 2023-11-03 15:10:58 -0700 |
commit | bc0f7807c9c9e205c33a5a6a149afcbfb65adc09 (patch) | |
tree | a79481d2e19dcd1f8d04f612a86181c817e4cb1e | |
parent | 089a6464c82394b2f96122fee05c7e3e6fd0838b (diff) | |
download | uwb-android-gs-raviole-mainline.tar.gz |
treewide: add missing fallthroughandroid-gs-raviole-mainline
This fixes build issues which requires switch cases without a break to
explicitly include a "fallthrough" statement.
Test: compiles
Bug: 290342259
Change-Id: I56b7ac1987aa08eeb3b24da78e25d77ea9037dec
Signed-off-by: André Draszik <draszik@google.com>
Signed-off-by: Will McVicker <willmcvicker@google.com>
-rw-r--r-- | mac/fira_session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mac/fira_session.c b/mac/fira_session.c index b4c8e75..583ebf3 100644 --- a/mac/fira_session.c +++ b/mac/fira_session.c @@ -905,6 +905,7 @@ bool fira_session_is_ready(const struct fira_local *local, case FIRA_RANGE_DATA_NTF_PROXIMITY_AND_AOA_CROSSING: if (check_parameter_proximity_range(&session->params)) return false; + fallthrough; default: break; } @@ -917,6 +918,7 @@ bool fira_session_is_ready(const struct fira_local *local, return false; if (check_parameter_bound_aoa_elevation(&session->params)) return false; + fallthrough; default: break; } |