Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Dec 2021 11:55:30 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: ceed3949bc80 - main - x86: plug a set-but-not-unused var in native_lapic_ipi_free
Message-ID:  <202112101155.1BABtUHu015237@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

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

commit ceed3949bc80bed39f4d99a580beebf960bb61a3
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-12-10 11:55:03 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-12-10 11:55:03 +0000

    x86: plug a set-but-not-unused var in native_lapic_ipi_free
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/x86/x86/local_apic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
index c404188e578b..ac3dfa4ca1d3 100644
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -2178,7 +2178,7 @@ static void
 native_lapic_ipi_free(int vector)
 {
 	struct gate_descriptor *ip;
-	long func;
+	long func __diagused;
 
 	KASSERT(vector >= IPI_DYN_FIRST && vector <= IPI_DYN_LAST,
 	    ("%s: invalid vector %d", __func__, vector));



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