Skip to content

Commit 1c78ba4

Browse files
tipc: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: KSPP#115 Signed-off-by: Gustavo A. R. Silva <[email protected]>
1 parent 0572b37 commit 1c78ba4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/tipc/link.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ int tipc_link_fsm_evt(struct tipc_link *l, int evt)
649649
break;
650650
case LINK_FAILOVER_BEGIN_EVT:
651651
l->state = LINK_FAILINGOVER;
652+
break;
652653
case LINK_FAILURE_EVT:
653654
case LINK_RESET_EVT:
654655
case LINK_ESTABLISH_EVT:

0 commit comments

Comments
 (0)