From 1caaf5558544ad672dc7b0e70a2492cdcc5e362e Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Wed, 24 Nov 2021 16:15:10 +0000 Subject: [PATCH] 32-bit compat: plug a set-but-not-unused var in freebsd32_copy_msg_out Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/compat/freebsd32/freebsd32_misc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index e81148d3577..a51daec85fc 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -1357,12 +1357,11 @@ freebsd32_copy_msg_out(struct msghdr *msg, struct mbuf *control) socklen_t clen, datalen, datalen_out, oldclen; int error; caddr_t ctlbuf; - int len, maxlen, copylen; + int len, copylen; struct mbuf *m; error = 0; len = msg->msg_controllen; - maxlen = msg->msg_controllen; msg->msg_controllen = 0; ctlbuf = msg->msg_control;