Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2022 00:27:54 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 032253e1d2e7 - main - tdfx: Mark a variable only used under a custom debug macro as unused.
Message-ID:  <202204090027.2390RsH3056602@gitrepo.freebsd.org>

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

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

commit 032253e1d2e7798088dcaf8bc4f5a027bd121f22
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-09 00:25:13 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-09 00:25:13 +0000

    tdfx: Mark a variable only used under a custom debug macro as unused.
---
 sys/dev/tdfx/tdfx_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 92640c54e665..79ecf112d169 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -254,7 +254,7 @@ tdfx_attach(device_t dev) {
 static int
 tdfx_detach(device_t dev) {
 	struct tdfx_softc* tdfx_info;
-	int retval;
+	int retval __unused;
 	tdfx_info = device_get_softc(dev);
 
 	/* Delete allocated resource, of course */



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