diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-11-02 11:41:12 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-14 18:14:05 -0600 |
commit | e54ddc32cf09dc43f7321431d8047ec6eabb5bbf (patch) | |
tree | 998869eaa43e6171cbf67048f3647aa2a578e69e | |
parent | 1f66c0e1f4ffb2f9f0fea8fcb7118028039e76a2 (diff) |
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 <heinrich.schuchardt@canonical.com>
-rw-r--r-- | common/xyzModem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/xyzModem.c b/common/xyzModem.c index 09f74a1f0c7..698a538a148 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++; |