summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2023-01-04 13:13:39 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-06 21:32:22 +0000
commit359da8c36b1996b2f59d60d86ef89a08e1cd040b (patch)
tree76860c0bc3dc4f8aa55885b35b3762e02a24131d /common
parentf2af169df3ac73543221354c34f41c6c9e1f4f73 (diff)
downloadchrome-ec-359da8c36b1996b2f59d60d86ef89a08e1cd040b.tar.gz
ec: Add missing break
When building with ASAN, this doesn't compile. Add missing break statement to avoid fallthrough. BRANCH=None BUG=b:257393779 TEST=make TEST_ASAN=y runtests Change-Id: I39225a6a6cff77095df53bcf273c8824ebd202ad Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4136958 Tested-by: Jeremy Bettis <jbettis@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/lightbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/lightbar.c b/common/lightbar.c
index a705a2cbed..a08b493fbd 100644
--- a/common/lightbar.c
+++ b/common/lightbar.c
@@ -1611,6 +1611,7 @@ void lightbar_task(void)
case LIGHTBAR_TAP:
case LIGHTBAR_PROGRAM:
st.cur_seq = st.prev_seq;
+ break;
default:
break;
}