mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-14 05:46:58 +00:00
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>
This commit is contained in:
parent
1f66c0e1f4
commit
e54ddc32cf
1 changed files with 1 additions and 0 deletions
|
@ -280,6 +280,7 @@ xyzModem_get_hdr (void)
|
|||
{
|
||||
case SOH:
|
||||
xyz.total_SOH++;
|
||||
fallthrough;
|
||||
case STX:
|
||||
if (c == STX)
|
||||
xyz.total_STX++;
|
||||
|
|
Loading…
Add table
Reference in a new issue