From nobody Tue Jun 20 16:29:31 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 4QlsXq4YPrz4gJlP; Tue, 20 Jun 2023 16:29:31 +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 4QlsXq45PPz4LRL; Tue, 20 Jun 2023 16:29:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278571; 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=UlAtpG+7BVJ5rkTaTbw/Pic1hY4ttXw6gdxf6eTSoZ4=; b=sWGrjtUNGl5szw9x085K1kk1FEyY6s4u8unkH6AMpEve/I/kQlB1owrT8g6uVbsUzF2Ftu L+KPOBAh7ULHo6fWrR9w1rewPAHq3ezkX2HPNtmVlgIxByv/GEfxCq9+74cVoBBwYrrhBe ob0xXEroYcW4S3yCvMMm5Etuo+eC/S3XEbTORYd3FiLmQtJR6KieT0DtPFFDR7JdKuWelz i5VsLVWZ5IcNi0OAsfc4lT2RG1vhKdk/e9AYQmX4XJCfN0DfRXMgVb8U+qHmcheUjMDlUy ZF7m/M25USVPb8jEluuupy2p6Xq3QOPVKWkuv9y7xKxMEXkF9kPDEEQkWghwDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278571; 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=UlAtpG+7BVJ5rkTaTbw/Pic1hY4ttXw6gdxf6eTSoZ4=; b=KO/YsB9mRkZu9jPIRSzzUkniw5Li84r4Ov10CSxJ6o5TGGctU/QNLDc4ietF7OkXSBnL5R n1D8NT+fyKpgqgF/VULhNQRLZb0bKjR68tZEBxs9hVcVYAfIxv47zPGKsR8V8cOSpbnqwM utV0SRmJpM/FaeVudK21O/CsOMQ4x+5YqKghfftoew5eY5krI2MzGeJ6P0TfH6GSYKllYf 6/dJKjHct9d4ql1Q9Cbd/qNJbk/uWrb3HmeOJ8UlNbStJ29G8T8yCpV2TzJLbgOd9kUedV ves6vjI3ikbDnaefzTySjJgtev8haxF0dNw3G2yIDuWaDCUnos35Y6qXRGyS4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687278571; a=rsa-sha256; cv=none; b=YBIzZa8muVIf8TB6JnOEkYDPRlt1wWINtc+xT7D6qQ2Kba5KAbtNJ7MW7JQc/Rz7BIXv+I 9cR+SF2wyENh4bxdPGzjCpVjybtEzlX7xjSFOO0tGhxa9yGWUumCjA7hn0ZOEafJe6c5/e zFNsjqaSK2EjiX8gtfTEvy3nsGRruJeURRnMUY6xzWxNDpbj0bzMoq1srjHxU0xloT+OTz fmoQSGfRPMr+FdyqYwBPhMNKMc7nAY1F3sTh312bqychHXQ2+u6M6ULmE2e//+e3TArexa 74NykiCXZm57zOHAsf7F0lgSmzRPE3GKu/cMnE6HUbo1KyBDgn73+P0ecqtCKw== 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 4QlsXq3BSpz15sb; Tue, 20 Jun 2023 16:29:31 +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 35KGTV71045321; Tue, 20 Jun 2023 16:29:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KGTV3j045320; Tue, 20 Jun 2023 16:29:31 GMT (envelope-from git) Date: Tue, 20 Jun 2023 16:29:31 GMT Message-Id: <202306201629.35KGTV3j045320@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: c555dcddceec - main - libalias tests: Mark an unused variable with __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: c555dcddceec0c27242f9159755a43959853dc2f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c555dcddceec0c27242f9159755a43959853dc2f commit c555dcddceec0c27242f9159755a43959853dc2f Author: John Baldwin AuthorDate: 2023-06-20 16:29:00 +0000 Commit: John Baldwin CommitDate: 2023-06-20 16:29:00 +0000 libalias tests: Mark an unused variable with __unused. It is not trivial to remove this set but unused variable since it assigned to inside of a macro body, so just mark it with __unused instead. --- tests/sys/netinet/libalias/2_natout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/netinet/libalias/2_natout.c b/tests/sys/netinet/libalias/2_natout.c index 4dfffdc055e2..c6f5797b2db7 100644 --- a/tests/sys/netinet/libalias/2_natout.c +++ b/tests/sys/netinet/libalias/2_natout.c @@ -202,7 +202,7 @@ ATF_TC_BODY(6_cleartable, dummy) { struct libalias *la = LibAliasInit(NULL); struct ip *po, *pi; - struct udphdr *ui, *uo; + struct udphdr *ui __unused, *uo; uint16_t sport = 0x1234; uint16_t dport = 0x5678; uint16_t aport;