Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2024 01:18:42 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 0a7de174b779 - stable/14 - acpidump: bump WARNS to 6
Message-ID:  <202404120118.43C1Igq0050335@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

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

commit 0a7de174b77988437035e4ec333dd1e93cfd6413
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-04-03 03:00:25 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2024-04-12 01:18:32 +0000

    acpidump: bump WARNS to 6
    
    (cherry picked from commit 29a6b72775eeed08a5ecb8f6c1b0c364196d73df)
---
 usr.sbin/acpi/acpidump/Makefile   | 1 -
 usr.sbin/acpi/acpidump/acpidump.h | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/acpi/acpidump/Makefile b/usr.sbin/acpi/acpidump/Makefile
index 9bd54a80f779..d0bb14284c1a 100644
--- a/usr.sbin/acpi/acpidump/Makefile
+++ b/usr.sbin/acpi/acpidump/Makefile
@@ -2,6 +2,5 @@
 PROG=	acpidump
 MAN=	acpidump.8
 SRCS=	acpi.c acpi_user.c acpidump.c
-WARNS?=	3
 
 .include <bsd.prog.mk>
diff --git a/usr.sbin/acpi/acpidump/acpidump.h b/usr.sbin/acpi/acpidump/acpidump.h
index 857d230bb871..80f86a748d76 100644
--- a/usr.sbin/acpi/acpidump/acpidump.h
+++ b/usr.sbin/acpi/acpidump/acpidump.h
@@ -30,9 +30,12 @@
 #ifndef _ACPIDUMP_H_
 #define	_ACPIDUMP_H_
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
 #include <contrib/dev/acpica/include/acpi.h>
 #include <contrib/dev/acpica/include/acconfig.h>
 #include <contrib/dev/acpica/include/actbl1.h>
+#pragma GCC diagnostic pop
 
 /* GAS address space ID constants. */
 #define	ACPI_GAS_MEMORY		0



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