git: ceed3949bc80 - main - x86: plug a set-but-not-unused var in native_lapic_ipi_free
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Dec 2021 11:55:30 UTC
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));