git: 679e4cdabdc5 - main - kvprintf(9): add missing FALLTHROUGH
Marius Strobl
marius at FreeBSD.org
Thu Jan 21 23:20:58 UTC 2021
The branch main has been updated by marius:
URL: https://cgit.FreeBSD.org/src/commit/?id=679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef
commit 679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef
Author: Marius Strobl <marius at FreeBSD.org>
AuthorDate: 2021-01-21 23:16:37 +0000
Commit: Marius Strobl <marius at FreeBSD.org>
CommitDate: 2021-01-21 23:18:40 +0000
kvprintf(9): add missing FALLTHROUGH
Reported by: Coverity
CID: 1005166
---
sys/kern/subr_prf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index b51213a25d0d..bbe95653919f 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -848,6 +848,7 @@ reswitch: switch (ch = (u_char)*fmt++) {
goto handle_nosign;
case 'X':
upper = 1;
+ /* FALLTHROUGH */
case 'x':
base = 16;
goto handle_nosign;
More information about the dev-commits-src-main
mailing list