diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2021-10-21 17:39:15 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-10-21 18:40:46 +0000 |
commit | 993446638ce701109d29c520b85d7ca31b5c5fe8 (patch) | |
tree | 92055b02d3c177d5873d907fed3051a264a9081d /sys/kern | |
parent | 661bd70bd72d510ad7153df530d55a300046d619 (diff) | |
download | src-993446638ce701109d29c520b85d7ca31b5c5fe8.tar.gz src-993446638ce701109d29c520b85d7ca31b5c5fe8.zip |
alq_open_flags(): mark local td variable as unused
It is passed to the NDINIT() macro which ignores the thread argument
for some time.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_alq.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |