From nobody Wed Nov 24 16:25:55 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1D774189A0DE; Wed, 24 Nov 2021 16:25:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hzmb763mMz3tLv; Wed, 24 Nov 2021 16:25:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD8E2541C; Wed, 24 Nov 2021 16:25:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AOGPt2S019634; Wed, 24 Nov 2021 16:25:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOGPtoU019633; Wed, 24 Nov 2021 16:25:55 GMT (envelope-from git) Date: Wed, 24 Nov 2021 16:25:55 GMT Message-Id: <202111241625.1AOGPtoU019633@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 1caaf5558544 - main - 32-bit compat: plug a set-but-not-unused var in freebsd32_copy_msg_out List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1caaf5558544ad672dc7b0e70a2492cdcc5e362e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637771155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fgs/JfBhFyy1TJbmT+1zyO7dUPEbr0VmS5Liow+G/9A=; b=Lvj2qmgSM91RFPhy9OIow8FW/ogf9BgNcQMXN0N5HK1UTrYRNlH0nCA72HOWSlbCpHuptp +5qlQvA8kqbH+MXm+5xRzFZR486ZF1ZMniUN6z+qktWFbAedfxuUv8ZoUGJtnI/X9Y+8p3 15JGKfGKFuttigReho8uO0r+gtsW6+xKkmGeJjp9z9qMfr9gX5et9R1C1KGEJNv61PRztJ o+LOXOnqPCLXy7i6aaspDCIfT2G3N3gqLY6+5+JbghZ1EP3y9k7W5Z7rU1kimMYYEUl6ZI Je+F0cnzGWOu8wy/vIuJ6RS6aT9DVCVLFHNMh03my2V8sd8P8mm4FaRmVOKiBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637771155; a=rsa-sha256; cv=none; b=uWnBA1hZgffruui9M5XiYngtPnsV3NwysDf+Q+01ciXSPfXexo2w6ut5Y6NVDrqKBKYtmp kptFSM+GeEhIBnuUBnUFyeUZw8atuULDnU9Q9ymwzQwTID4tDfjBD/XuWuFH8ediToy3uE bR1ZkT0eZ3gsW71iycLdwgUsQ7ggWSgmp42uMpa7Zq+Qzf/7KHvZDpI0nUfgv1zU2nU9na 7rIE6oQFXyUcTxaHn4zrgXlZb3LBAizxGo1rnz5kYOHxEds6y/KnS0PvwGE+04uh6SGer9 /S3+yCjCmCBXut3tCKEBX60JHpA4F98xHtCNKWq4FuJEx1PjiAmdPp116mPz3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=1caaf5558544ad672dc7b0e70a2492cdcc5e362e commit 1caaf5558544ad672dc7b0e70a2492cdcc5e362e Author: Mateusz Guzik AuthorDate: 2021-11-24 16:15:10 +0000 Commit: Mateusz Guzik CommitDate: 2021-11-24 16:25:50 +0000 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 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;