git: 1ae22e62e45a - main - infiniband: Disable -Wunused-but-set-variable for a few more OFED files.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Apr 2022 21:59:42 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=1ae22e62e45a4ccda5beabf9c647cd3552fefa06
commit 1ae22e62e45a4ccda5beabf9c647cd3552fefa06
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-12 21:58:59 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-12 21:58:59 +0000
infiniband: Disable -Wunused-but-set-variable for a few more OFED files.
---
sys/conf/files | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/conf/files b/sys/conf/files
index e11e11ef40ad..44b3982c0edb 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -4709,11 +4709,11 @@ ofed/drivers/infiniband/ulp/sdp/sdp_bcopy.c optional sdp inet \
ofed/drivers/infiniband/ulp/sdp/sdp_main.c optional sdp inet \
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/ulp/sdp/"
ofed/drivers/infiniband/ulp/sdp/sdp_rx.c optional sdp inet \
- compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/ulp/sdp/"
+ compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/ulp/sdp/ ${NO_WUNUSED_BUT_SET_VARIABLE}"
ofed/drivers/infiniband/ulp/sdp/sdp_cma.c optional sdp inet \
compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/ulp/sdp/"
ofed/drivers/infiniband/ulp/sdp/sdp_tx.c optional sdp inet \
- compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/ulp/sdp/"
+ compile-with "${OFED_C} -I$S/ofed/drivers/infiniband/ulp/sdp/ ${NO_WUNUSED_BUT_SET_VARIABLE}"
dev/mthca/mthca_allocator.c optional mthca pci ofed \
compile-with "${OFED_C}"