diff --git a/sys/kern/kern_alq.c b/sys/kern/kern_alq.c index 6db4ab300828..4b30e519d335 100644 --- a/sys/kern/kern_alq.c +++ b/sys/kern/kern_alq.c @@ -431,7 +431,7 @@ int alq_open_flags(struct alq **alqp, const char *file, struct ucred *cred, int cmode, int size, int flags) { - struct thread *td; + struct thread *td __unused; struct nameidata nd; struct alq *alq; int oflags;