From: Heinrich Schuchardt Date: Sat, 2 Nov 2024 10:41:12 +0000 (+0100) Subject: xyz-modem: Add missing fallthrough annotation X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=e54ddc32cf09dc43f7321431d8047ec6eabb5bbf;p=u-boot.git xyz-modem: Add missing fallthrough annotation Falltroughs in switch statements should be explicit. Addresses-Coverity-ID: 131162 Missing break in switch Signed-off-by: Heinrich Schuchardt --- diff --git a/common/xyzModem.c b/common/xyzModem.c index 09f74a1f0c..698a538a14 100644 --- a/common/xyzModem.c +++ b/common/xyzModem.c @@ -280,6 +280,7 @@ xyzModem_get_hdr (void) { case SOH: xyz.total_SOH++; + fallthrough; case STX: if (c == STX) xyz.total_STX++;