From af40f9bfa6efc4152b20326783450a67177f03a5 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 14 Dec 2021 17:12:53 +0000 Subject: [PATCH] socket: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/sys_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/sys_socket.c b/sys/kern/sys_socket.c index 8f24017381d..4e752fa6b66 100644 --- a/sys/kern/sys_socket.c +++ b/sys/kern/sys_socket.c @@ -598,7 +598,7 @@ soaio_process_job(struct socket *so, struct sockbuf *sb, struct kaiocb *job) struct ucred *td_savedcred; struct thread *td; struct file *fp; - size_t cnt, done, job_total_nbytes; + size_t cnt, done, job_total_nbytes __diagused; long ru_before; int error, flags;