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

@@ -435,7 +435,7 @@ getln(int fd, char *buf, size_t bufsiz, bool feedback,
*errval = TGP_ERRVAL_NOPASSWORD;
debug_return_str(NULL);
}
/* FALLTHROUGH */
FALLTHROUGH;
default:
debug_return_str_masked(buf);
}