Date: Sun, 5 Dec 2021 22:33:23 GMT From: Scott Long <scottl@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 95d35d7a0ec5 - main - Fix "set but not used" in kern_cpu.c Message-ID: <202112052233.1B5MXNQE037891@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by scottl: URL: https://cgit.FreeBSD.org/src/commit/?id=95d35d7a0ec5553700b4fdb0b83c3f40a94a20e8 commit 95d35d7a0ec5553700b4fdb0b83c3f40a94a20e8 Author: Scott Long <scottl@FreeBSD.org> AuthorDate: 2021-12-05 22:33:04 +0000 Commit: Scott Long <scottl@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112052233.1B5MXNQE037891>