tdfx: Mark a variable only used under a custom debug macro as unused.

This commit is contained in:
John Baldwin 2022-04-08 17:25:13 -07:00
parent c1480b1702
commit 032253e1d2

View file

@ -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 */