The branch main has been updated by scottl: URL: https://cgit.FreeBSD.org/src/commit/?id=95d35d7a0ec5553700b4fdb0b83c3f40a94a20e8
commit 95d35d7a0ec5553700b4fdb0b83c3f40a94a20e8 Author: Scott Long <sco...@freebsd.org> AuthorDate: 2021-12-05 22:33:04 +0000 Commit: Scott Long <sco...@freebsd.org> CommitDate: 2021-12-05 22:33:04 +0000 Fix "set but not used" in kern_cpu.c Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/kern_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_cpu.c b/sys/kern/kern_cpu.c index 380849974a35..8272f9b4795c 100644 --- a/sys/kern/kern_cpu.c +++ b/sys/kern/kern_cpu.c @@ -1122,7 +1122,7 @@ int cpufreq_unregister(device_t dev) { device_t cf_dev; - struct cpufreq_softc *sc; + struct cpufreq_softc *sc __diagused; /* * If this is the last cpufreq child device, remove the control