Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2023 19:39:17 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f13a7fabfe76 - main - iasl: Disable -Wunused-but-set-variable for a couple of files.
Message-ID:  <202306201939.35KJdHmN058453@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306201939.35KJdHmN058453>