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

@@ -389,7 +389,7 @@ parse_args(int argc, char **argv, int *old_optind, int *nargc, char ***nargv,
valid_flags = 0;
break;
}
/* FALLTHROUGH */
FALLTHROUGH;
case OPT_HOSTNAME:
assert(optarg != NULL);
if (*optarg == '\0')