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

@@ -201,7 +201,7 @@ mon_handle_sigchld(struct monitor_closure *mc)
switch (pid) {
case 0:
errno = ECHILD;
/* FALLTHROUGH */
FALLTHROUGH;
case -1:
sudo_warn(U_("%s: %s"), __func__, "waitpid");
debug_return;