From nobody Tue Dec 14 17:13:22 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 C8E1318EA1BD; Tue, 14 Dec 2021 17:13:22 +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 4JD4hf3RGyz3nQC; Tue, 14 Dec 2021 17:13:22 +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 55C4D44E3; Tue, 14 Dec 2021 17:13:22 +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 1BEHDMp6034279; Tue, 14 Dec 2021 17:13:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BEHDM24034278; Tue, 14 Dec 2021 17:13:22 GMT (envelope-from git) Date: Tue, 14 Dec 2021 17:13:22 GMT Message-Id: <202112141713.1BEHDM24034278@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: af40f9bfa6ef - main - socket: plug set-but-not-used vars 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: af40f9bfa6efc4152b20326783450a67177f03a5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639502002; 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=ld0/TjdDm0jUmmWVpCE+ZIyNMjKdxn1IZV+8oFPv9H0=; b=CBU+yQp6t3OEf48HwsiZVrV3maOpY9k8qw+rkawUkhqjbPG0ktPs7O3zPyFtWzJCZiNMvv yTMkoHzwiXXVVgihfAT1hlrtraIrGqI+axHdeuWgn/cX/ncMwdJAVA+tT6QgYQi9FXdaH+ ZnJI3T6YM/Lte/I0bShEjLxflBSYJXHvqZcPUaubLeTtVYUUS9qroJ4516Hhv0x9sc7Mmg R3EOiI/bEQWET+FbvHkyWKqpmjxrgUf7pDijyq1XTg+yHDF9fGXX1YW7eppwkRC5yel1wr m9TVau1YaE8NBopF7SfLVKCzy+dNe8RpQLlR5274L49oH3CoqDSif/mjMC0Clg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639502002; a=rsa-sha256; cv=none; b=b2cKT1gQkX8tYiFjWRUDhVtY9FTmuhiDEn35kEPUIuWHqxs+bBb/I1kJa6kBktCoeuQw2f tklX6ORQWb7hnBlAI8PS2yaXVjpXc8VyHUVWvdHGsEAiSyEw78Y5k6Ax74+T1cfPvjwubO AWI8gMZP9HyK6k3TU+kxA/k/zw/VfwHeINlaZ0AdUdOjN96b8oVMnnVW9Zs1pqxB3RUMCJ +7bOZUfBrsJe4MtGMM2KmgNEgyNlg08Ytt5SpMlhRXqwM4fDg3bjUOgXfDl0VFAiHXerXp g23PuWFfroYXAzCits3q00WERcpQdPD7K+vejGFzYpmtYKCi+OOnLQq8IJkKPw== 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=af40f9bfa6efc4152b20326783450a67177f03a5 commit af40f9bfa6efc4152b20326783450a67177f03a5 Author: Mateusz Guzik AuthorDate: 2021-12-14 17:12:53 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-14 17:12:53 +0000 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 8f24017381df..4e752fa6b664 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;