git: 0a048d4a98fd - main - mbuf: plug set-but-not-used vars

From: Mateusz Guzik <mjg_at_FreeBSD.org>
Date: Thu, 09 Dec 2021 17:59:25 UTC
The branch main has been updated by mjg:

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

commit 0a048d4a98fd20bfe7e066d8c98d5c2a480756ae
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-12-09 17:59:11 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-12-09 17:59:11 +0000

    mbuf: plug set-but-not-used vars
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/kern/kern_mbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_mbuf.c b/sys/kern/kern_mbuf.c
index 88a3e84c558d..f48ec88bbe83 100644
--- a/sys/kern/kern_mbuf.c
+++ b/sys/kern/kern_mbuf.c
@@ -680,7 +680,7 @@ static void
 mb_dtor_mbuf(void *mem, int size, void *arg)
 {
 	struct mbuf *m;
-	unsigned long flags;
+	unsigned long flags __diagused;
 
 	m = (struct mbuf *)mem;
 	flags = (unsigned long)arg;