git: aa8f8a9530c8 - stable/13 - kern/subr_unit.c: fix non-debug build

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Fri, 25 Aug 2023 01:08:41 UTC
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;