From nobody Wed Jun 28 19:27:55 2023 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 4Qrs6z6dqpz4kwf6; Wed, 28 Jun 2023 19:27:55 +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 4Qrs6z5rYFz4PrP; Wed, 28 Jun 2023 19:27:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687980475; 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=rzFeByCgnVHL0PErkWU3Jhjl0H8QlJbg/it4RSUuKaQ=; b=V2rd7LDzhviufG0sc0mhZzEmBHWbYrY3i37p/oImET0FX43KOsX5P5fIItQ6UuXX77Mtg5 ydzRmxDy0XYYHeLNd+O35CDE2HCRx1owhB10w5hRkxBUxZBHjuE510sSd5BYuYRuEks+C3 PUfd4+i2lGNlG687pVhJwU8OaGlC9FjETwkmfbGjmDiVEXQDuuBhlI2blaXitE9mhPMSiR AR71kKQxfNE7+Het1CwSlUrEqstAYVrvW2lTpH9RyGaWFRZnFak8kjIsQU7ZKq5pQADK7N nLxbwmIo1NhAzFpmsgqMYLJ3moxzdTJNkXls4RxbSSabbr6y/m6mucvFNEjClA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687980475; 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=rzFeByCgnVHL0PErkWU3Jhjl0H8QlJbg/it4RSUuKaQ=; b=Chn0IVXaSi8KNlx7jGO7f2QEVvqmupNub8Y5MNemd5nLwAagWhoxRlpW+DRfNdxUCtrpzt +tvDCNXK86HlnWbb+v5beLmgl21kc9w1SgT+dMDRHBN6U01Y8D9HRXjy5hNhZ5JTAhynka lqgdHseYT0NTIhZSotBZ3nFOhSRNuh39h8dz7SV+1Iwvz/QlecUdjJ5jqQwgACU5y3macM fK1JJtmXbTnPBgo8nFXf+6x7gHsyYvDHS1UhBlfMh9K6spAyhwQ7k9zSZ8/n5OKp+77Eof GqmGknMUQ1mE600otUJ3Hwd9QnAE8QGlImceF6/iOwrvntTLlwS4A40ObpEmJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687980475; a=rsa-sha256; cv=none; b=mGWX8IcvrZhSpuyKmKOsSYNDLbnv+S2JhAz9S5l0GUsg1yYnRkmTaOc4Vw5eTpY6SIPzYm f5+CXJKmsRDhlnHCf5MEwYu3mWwqk2G1aCOwZWmC+svGax/hG27VPVERIigkks0KbVSts9 gDO9nUsXbOVvjd4ja9TtGH3dc0RxU+dlC94T/IKxSOahZDb4LU24DSSYUewZ6UV6qXDVYF VUrvTwUasUimPEpkHrHtrLph/07Cqr2LUfI4hqpWBt5I5iiZINfdJu2SjDhQ7Buf8zzbTK 5EgL5GMoZYP8ulUTfskXtVaIyEYoma0NZ+8tqx0OFIH1Trw6Y3oxfEdUQstTsg== 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 4Qrs6z4mDhzm1v; Wed, 28 Jun 2023 19:27: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 35SJRt6J025570; Wed, 28 Jun 2023 19:27:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35SJRtIB025569; Wed, 28 Jun 2023 19:27:55 GMT (envelope-from git) Date: Wed, 28 Jun 2023 19:27:55 GMT Message-Id: <202306281927.35SJRtIB025569@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: d036adc4e913 - main - bsd.sys.mk: Re-enable -Wunused-but-set-variable for clang 13+. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d036adc4e913701fea4d0df454bf535de27ed1de Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=d036adc4e913701fea4d0df454bf535de27ed1de commit d036adc4e913701fea4d0df454bf535de27ed1de Author: John Baldwin AuthorDate: 2023-06-28 19:27:43 +0000 Commit: John Baldwin CommitDate: 2023-06-28 19:27:43 +0000 bsd.sys.mk: Re-enable -Wunused-but-set-variable for clang 13+. Reviewed by: dim, emaste Differential Revision: https://reviews.freebsd.org/D40674 --- share/mk/bsd.sys.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index eb6a74a3e98d..b005a8332798 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -86,9 +86,6 @@ CWARNFLAGS+= -Wdate-time .if ${WARNS} <= 6 CWARNFLAGS.clang+= -Wno-empty-body -Wno-string-plus-int CWARNFLAGS.clang+= -Wno-unused-const-variable -.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 130000 -CWARNFLAGS.clang+= -Wno-error=unused-but-set-variable -.endif .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000 CWARNFLAGS.clang+= -Wno-error=unused-but-set-parameter .endif