From nobody Thu May 25 17:45:05 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 4QRwS13nNmz4WTTF; Thu, 25 May 2023 17:45:05 +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 4QRwS12F5pz3sD0; Thu, 25 May 2023 17:45:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685036705; 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=4qKY36jzQMZHByzFi82KdSj4SPOFp5EZb4YPf5Ex+Uk=; b=UkJERbTjpobRnx+AV1SUrShPARV5QVwF6i+/9IzJo+he2oviWgn2ThVP4gOIcsJ5YDEezT BwanwNgdenvq6WvG17rJzjKR7V1D80KN9sMbdBrtr/QS7mqNXdlJH5T9SIunsgihx03x8j 2Gx12ObXA2+dEOwDlcOqRXsMfpOp9o+0fyMlXw4CoH+JAQe7Jo6j+a/LnTYRvfPyvjj0tE TBN7w5iT6lGD/3XxyIMHI/BX0kPAPui8ct2T33oJs4bn43oWc/NiaaYcfUZIxfY2N8oAuv rtsuutExCSZiYaoRIEHtDZAtOQRs6XXvP0SjxTHaeuHtHqtJsTTyXTZA8zR6qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685036705; 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=4qKY36jzQMZHByzFi82KdSj4SPOFp5EZb4YPf5Ex+Uk=; b=q+axN5418xuXD1DkH8igcUeXUARxvAuC3uZD1IKJcHGXNcQLMw0bZU9GyqSUS3rSn0YVFT JWuyuo/9ucWREVQpQVJTCFal6fYuDmFjrOa24HWocmxgRmOHgqfA+fOHszdf/mc7c088Fv jCdN8xcxzfcVvkzB9WI2tyP+63gDNnH75myogtbTR4X9jWr/iPjeX94DVGiJnJfuAjXN43 CE7BOdxEmERzwTTjvKfvzK5aZf1cdVgWZig6UYv5qlY6JTyrd/VGuIrTxCn2h/X4IK4zUn uejAqngxq2CvuNxdKa0WFB5tU+/W6MChEr/xFc6wt/f3CX/O+RXHFwXGDiUbaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685036705; a=rsa-sha256; cv=none; b=xP+uUcMjrw1pYTvAL/J2nkxUdwHmjhCeMAze7JwTqu1Vnr2OhISF0TPPUabnge149N055+ UTYtrvrfbAGTY/puoKeBaAkOP98y50xmDjyh73H3NAPnDSl2cc3HeDLeg6C4StUn8lcbuC yY5fJCh4CSVfYhdztOJcm1VcqDvNMzWlFOUkHfuoQFqhyGlKNE4150m7nTCQfKDyItsy7E FhbPoZi9OeuVkHu1BteECDfqki/q/NhSElBnCSe4H1RPJKaHkR0htCB0kkM85Pmnvj6kvU lMvA/PKGG5G2qRpMaN3mpy8xacUZjivb2+vlec/AtidxFtdncZX2EjYp5EQXkQ== 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 4QRwS11980zZP7; Thu, 25 May 2023 17:45:05 +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 34PHj5AK093574; Thu, 25 May 2023 17:45:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34PHj54m093573; Thu, 25 May 2023 17:45:05 GMT (envelope-from git) Date: Thu, 25 May 2023 17:45:05 GMT Message-Id: <202305251745.34PHj54m093573@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: 98d06eea14a5 - main - sys: Enable -Wunused-but-set-variable for clang 15+. 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: 98d06eea14a5056e22328140fee517a4f0612bf8 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=98d06eea14a5056e22328140fee517a4f0612bf8 commit 98d06eea14a5056e22328140fee517a4f0612bf8 Author: John Baldwin AuthorDate: 2023-05-25 17:44:53 +0000 Commit: John Baldwin CommitDate: 2023-05-25 17:44:53 +0000 sys: Enable -Wunused-but-set-variable for clang 15+. It was already enabled for older clang versions and GCC. --- sys/conf/kern.mk | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index be7e452bb6e3..9e977a6e4a01 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -46,12 +46,6 @@ CWARNEXTRA?= -Wno-error=tautological-compare -Wno-error=empty-body \ -Wno-error=pointer-sign CWARNEXTRA+= -Wno-error=shift-negative-value CWARNEXTRA+= -Wno-address-of-packed-member -.if ${COMPILER_VERSION} >= 150000 -# Clang 15 has much more aggressive diagnostics about -# unused-but-set variables. Make these -# non-fatal for the time being. -CWARNEXTRA+= -Wno-error=unused-but-set-variable -.endif .endif # clang .if ${COMPILER_TYPE} == "gcc"