Use the fallthrough attribute instead of /* FALLTHROUGH */ comments.

This commit is contained in:
Todd C. Miller
2020-08-01 13:10:50 -06:00
parent 20fd3b6363
commit 03ad96e445
29 changed files with 121 additions and 100 deletions

View File

@@ -866,10 +866,10 @@ client_message_completion(struct client_closure *closure)
closure->state = SEND_EXIT;
debug_return_bool(fmt_exit_message(closure));
}
/* FALLTHROUGH */
FALLTHROUGH;
case SEND_RESTART:
closure->state = SEND_IO;
/* FALLTHROUGH */
FALLTHROUGH;
case SEND_IO:
/* fmt_next_iolog() will advance state on EOF. */
if (!fmt_next_iolog(closure))