git: f13a7fabfe76 - main - iasl: Disable -Wunused-but-set-variable for a couple of files.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 20 Jun 2023 19:39:17 UTC
The branch main has been updated by jhb:

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

commit f13a7fabfe7693f061e499a81e4560f33cafbb7d
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-06-20 19:36:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-06-20 19:36:43 +0000

    iasl: Disable -Wunused-but-set-variable for a couple of files.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D40669
---
 usr.sbin/acpi/iasl/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile
index 6b95cc1d7457..3a490962f216 100644
--- a/usr.sbin/acpi/iasl/Makefile
+++ b/usr.sbin/acpi/iasl/Makefile
@@ -81,6 +81,8 @@ WARNS?=	2
 MAN=	iasl.8
 
 CFLAGS+= -DACPI_ASL_COMPILER -I.
+CWARNFLAGS.aslrestype2s.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
+CWARNFLAGS.dmextern.c= ${NO_WUNUSED_BUT_SET_VARIABLE}
 LFLAGS= -i -s
 DLFLAGS=-i
 YFLAGS= -d