Date: Thu, 21 Jan 2021 23:20:52 GMT From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 679e4cdabdc5 - main - kvprintf(9): add missing FALLTHROUGH Message-ID: <202101212320.10LNKqh2071902@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by marius: URL: https://cgit.FreeBSD.org/src/commit/?id=679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef commit 679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef Author: Marius Strobl <marius@FreeBSD.org> AuthorDate: 2021-01-21 23:16:37 +0000 Commit: Marius Strobl <marius@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101212320.10LNKqh2071902>