git: 39240ddf854f - main - bsd.sys.mk: Stop muting -Wunused-but-set-variable for GCC.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 28 Jun 2023 18:52:47 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=39240ddf854f569bb75f1e1a9c7283ac0c2aee38

commit 39240ddf854f569bb75f1e1a9c7283ac0c2aee38
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-06-28 18:13:58 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-06-28 18:13:58 +0000

    bsd.sys.mk: Stop muting -Wunused-but-set-variable for GCC.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D40662
---
 share/mk/bsd.sys.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index f3eb1fe99b2f..eb6a74a3e98d 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -182,7 +182,6 @@ CWARNFLAGS+=	-Wno-error=address			\
 		-Wno-error=logical-not-parentheses	\
 		-Wno-error=strict-aliasing		\
 		-Wno-error=uninitialized		\
-		-Wno-error=unused-but-set-variable	\
 		-Wno-error=unused-function		\
 		-Wno-error=unused-value
 .endif