diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2021-11-24 16:15:10 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2021-11-24 16:25:50 +0000 |
commit | 1caaf5558544ad672dc7b0e70a2492cdcc5e362e (patch) | |
tree | 1f97ba5b06e3dcf3aa5ce7165781a9ae0e43fdcb /sys/compat/freebsd32/freebsd32_misc.c | |
parent | 5abafe4aa0b82a3ce96425b016641324c290a8b4 (diff) | |
download | src-1caaf5558544ad672dc7b0e70a2492cdcc5e362e.tar.gz src-1caaf5558544ad672dc7b0e70a2492cdcc5e362e.zip |
32-bit compat: plug a set-but-not-unused var in freebsd32_copy_msg_out
Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_misc.c')
-rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index e81148d3577c..a51daec85fcd 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; |