Date: Mon, 10 Apr 2023 17:43:57 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: 3a9e6624ebef - main - rtw88: Silence unused but set warnings from GCC for debug.c. Message-ID: <202304101743.33AHhvlk073782@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=3a9e6624ebeff00fb2330606acdcb194504ae05f commit 3a9e6624ebeff00fb2330606acdcb194504ae05f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2023-04-10 17:31:26 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-04-10 17:31:26 +0000 rtw88: Silence unused but set warnings from GCC for debug.c. Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D39353 --- sys/modules/rtw88/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/modules/rtw88/Makefile b/sys/modules/rtw88/Makefile index 2df00358821c..930438a04f2c 100644 --- a/sys/modules/rtw88/Makefile +++ b/sys/modules/rtw88/Makefile @@ -40,4 +40,7 @@ CFLAGS+= ${LINUXKPI_INCLUDES} CFLAGS+= -DCONFIG_RTW88_DEBUG #CFLAGS+= -DCONFIG_RTW88_DEBUGFS +# GCC warns about set but unused vaf variables +CWARNFLAGS.debug.c+= ${NO_WUNUSED_BUT_SET_VARIABLE} + .include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304101743.33AHhvlk073782>