Skip to content

Commit 1e85d86

Browse files
authored
add break to StartupCoordinationState_RUNNING case, as implicit fallthrough is not required and causes warning as error compile issue (#290)
1 parent 275fc50 commit 1e85d86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/startup_coordinator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ static void StartupCoordinator_handle_start_time_proposal(StartupCoordinator *se
302302
case StartupCoordinationState_RUNNING:
303303
// Should not be possible.
304304
validate(false);
305+
break;
305306
case StartupCoordinationState_HANDSHAKING:
306307
// This is possible. Our node might be still handshaking with another neighbor.
307308
// Intentional fall-through

0 commit comments

Comments
 (0)