Date: Wed, 6 Apr 2022 23:46:22 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: db3603ff0947 - main - ibcore: Disable set but unused warnings. Message-ID: <202204062346.236NkMs0009148@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=db3603ff09477cebf6a8c06ae6b467c056128413 commit db3603ff09477cebf6a8c06ae6b467c056128413 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-06 23:45:29 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-06 23:45:29 +0000 ibcore: Disable set but unused warnings. --- sys/conf/files | 2 +- sys/modules/ibcore/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/conf/files b/sys/conf/files index 3e9565a5df68..60f52d4c6be1 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -4626,7 +4626,7 @@ ofed/drivers/infiniband/core/ib_device.c optional ofed \ ofed/drivers/infiniband/core/ib_fmr_pool.c optional ofed \ compile-with "${OFED_C}" ofed/drivers/infiniband/core/ib_iwcm.c optional ofed \ - compile-with "${OFED_C}" + compile-with "${OFED_C} ${NO_WUNUSED_BUT_SET_VARIABLE}" ofed/drivers/infiniband/core/ib_iwpm_msg.c optional ofed \ compile-with "${OFED_C}" ofed/drivers/infiniband/core/ib_iwpm_util.c optional ofed \ diff --git a/sys/modules/ibcore/Makefile b/sys/modules/ibcore/Makefile index 4cabde88f885..2f738b1702b7 100644 --- a/sys/modules/ibcore/Makefile +++ b/sys/modules/ibcore/Makefile @@ -57,3 +57,4 @@ EXPORT_SYMS= YES .include <bsd.kmod.mk> CWARNFLAGS+= -Wno-cast-qual -Wno-pointer-arith +CWARNFLAGS+= ${NO_WUNUSED_BUT_SET_VARIABLE}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204062346.236NkMs0009148>