From nobody Mon Apr 10 17:43:59 2023 X-Original-To: dev-commits-src-all@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 4PwGYY0jMkz44X03; Mon, 10 Apr 2023 17:44:01 +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 4PwGYX3rdvz3HrN; Mon, 10 Apr 2023 17:44:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681148640; 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=qIdNAuIwLf2tntbVxCPdwzzqRofO2TFzvLmhS338ZWs=; b=X5bD7sIQqJXL91A295cycKlHJm+429xD40pA5nLyiOtuKv5pSpGG2MScv4jm5UdmiVMpCv 9grNt4o79Z2CDVap6vfuNcmzogJuoko6qUfaIAeSLF/MOrJMWcIT/yo/tCqbPTlUjj4ZfO PA/16j04ydj13jxTen8d0fVXnya4kaWt7bnaqENSwBeSE0On5pkR6b/tOIXdCU8cnBizK8 KGmfVdBibPVsXdkm+Qr/S0jNE9h+OIpTEQ6FDqL/38XkR+F73MsZNuD4AfLl8NvTa1INvZ MvR7GkugKsNcdxKIWdPf7lwdtutufVI1QzS4p4C1rXrZoXW/DluEegCIvpZ2ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681148640; 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=qIdNAuIwLf2tntbVxCPdwzzqRofO2TFzvLmhS338ZWs=; b=O+QP3uqi1292AeDct+GqUiP/XC6c5HBt1/FN9g5l5HWe8vdL8dBGbxve/9PKxZLasySTxy 4iMYGPwD0bVcOoAaRW5uTrWKxq1BnI2Jy5WO5ULDVNQNBTzCE0e85IJqJVA7JYUhi996mA CkeohX+RjrLlFR2aWyg7QHuhi02ws3xIuL9KvWkEVEWMSOq+QEtvfi8vVrpdX/h44YpHrZ /Q7rjvmsZKHXHptNIy0TXK4WJomK08XjkDyks7Npe6ugs8LdDj3w8AEMUVA0q+jmETPEyj xb7ziUU8o0QN6eAOJwqH9jTLZccPSWBHcYYsn/irQmxvF7AZn46cRdl8Bat21w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681148640; a=rsa-sha256; cv=none; b=TS7kRXtCpRfLvduENzFXYWy82ziqsNwkV+9UMiqZuGkPF3KxdC1F1IOl+KileSxUT9g7aA wwOw/NKW0TyptjfGBsIb7fwUiz2dsJ/IaQ+azjurF9awQCnvIEjd6gz2ZHhmyeW4PUxLzH UIboNC9IPVm31/qZzbSEZcln6xh7Dy17irqwxcSStZYEGvU/QBP4zPBxtKxwMDc0JXkIZn g75YM/LoNKovePLUg5MW7vHmRchj1OclGDQO9Vqqk9TXVJOaZgcOFS9b/N8AjQfflZgJ4V Ei2VsHJRz45VZp4oVrp9vRkptSvaMIqnGtHBM3WsbuVMIVcEhGYUnr6kDippOg== 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 4PwGYW6fJDz10dj; Mon, 10 Apr 2023 17:43:59 +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 33AHhxin073824; Mon, 10 Apr 2023 17:43:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33AHhxEv073823; Mon, 10 Apr 2023 17:43:59 GMT (envelope-from git) Date: Mon, 10 Apr 2023 17:43:59 GMT Message-Id: <202304101743.33AHhxEv073823@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 4b6228906ff7 - main - libalias: Mark set but unused variables as unused. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b6228906ff7ec932a12ebfc2fe7fdd9f4e93299 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=4b6228906ff7ec932a12ebfc2fe7fdd9f4e93299 commit 4b6228906ff7ec932a12ebfc2fe7fdd9f4e93299 Author: John Baldwin AuthorDate: 2023-04-10 17:35:29 +0000 Commit: John Baldwin CommitDate: 2023-04-10 17:35:29 +0000 libalias: Mark set but unused variables as unused. This function is clearly a stub, but it seems better to leave the stub bits in place than to remove the function entirely. Differential Revision: https://reviews.freebsd.org/D39355 --- sys/netinet/libalias/alias_skinny.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/libalias/alias_skinny.c b/sys/netinet/libalias/alias_skinny.c index 70b3a29ddb40..c167891dab09 100644 --- a/sys/netinet/libalias/alias_skinny.c +++ b/sys/netinet/libalias/alias_skinny.c @@ -230,7 +230,7 @@ alias_skinny_startmedia(struct StartMediaTransmission *start_media, struct alias_link *lnk, u_int32_t localIpAddr, ConvDirection direction) { - struct in_addr dst, src; + struct in_addr dst __unused, src __unused; (void)pip; (void)tc;