mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-07 15:56:59 +02: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
@ -280,6 +280,7 @@ xyzModem_get_hdr (void)
|
|||||||
{
|
{
|
||||||
case SOH:
|
case SOH:
|
||||||
xyz.total_SOH++;
|
xyz.total_SOH++;
|
||||||
|
fallthrough;
|
||||||
case STX:
|
case STX:
|
||||||
if (c == STX)
|
if (c == STX)
|
||||||
xyz.total_STX++;
|
xyz.total_STX++;
|
||||||
|
Loading…
Reference in New Issue
Block a user