Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2023 01:08:41 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: aa8f8a9530c8 - stable/13 - kern/subr_unit.c: fix non-debug build
Message-ID:  <202308250108.37P18f1u058687@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit aa8f8a9530c816166a1ab7427b6141bb51831960
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-08-18 13:36:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-08-25 01:06:44 +0000

    kern/subr_unit.c: fix non-debug build
    
    (cherry picked from commit 1384a0b940e87876d36d50ad58581c24dc642714)
---
 sys/kern/subr_unit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c
index 7fa242440328..4fb2bb3790e2 100644
--- a/sys/kern/subr_unit.c
+++ b/sys/kern/subr_unit.c
@@ -366,7 +366,7 @@ check_unrhdr(struct unrhdr *uh, int line)
 	struct unr *up;
 	struct unrb *ub;
 	int w;
-	u_int y, z;
+	u_int y __diagused, z __diagused;
 
 	y = uh->first;
 	z = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308250108.37P18f1u058687>