socket: plug set-but-not-used vars

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2021-12-14 17:12:53 +00:00
parent 35273e2099
commit af40f9bfa6

View File

@ -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;