The branch main has been updated by marius:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef

commit 679e4cdabdc5a93e5c0d7cdf3fc52202a8de02ef
Author:     Marius Strobl <mar...@freebsd.org>
AuthorDate: 2021-01-21 23:16:37 +0000
Commit:     Marius Strobl <mar...@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;
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to