git: b367bd195295 - main - ce: Disable -Wunused-but-set-variable for obfuscated tau32-ddk.c.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 00:27:55 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b367bd1952952b41b3c5dbc51b0b1b9da1fdd9dd
commit b367bd1952952b41b3c5dbc51b0b1b9da1fdd9dd
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-09 00:25:13 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-09 00:25:13 +0000
ce: Disable -Wunused-but-set-variable for obfuscated tau32-ddk.c.
---
sys/conf/files.i386 | 2 +-
sys/modules/ce/Makefile | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index 2622a6e2bf91..2517bfa82dc1 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -33,7 +33,7 @@ dev/agp/agp_via.c optional agp
dev/ce/ceddk.c optional ce
dev/ce/if_ce.c optional ce
dev/ce/tau32-ddk.c optional ce \
- compile-with "${NORMAL_C} ${NO_WCONSTANT_CONVERSION} ${NO_WMISLEADING_INDENTATION}"
+ compile-with "${NORMAL_C} ${NO_WCONSTANT_CONVERSION} ${NO_WMISLEADING_INDENTATION} ${NO_WUNUSED_BUT_SET_VARIABLE}"
dev/glxiic/glxiic.c optional glxiic
dev/glxsb/glxsb.c optional glxsb
dev/glxsb/glxsb_hash.c optional glxsb
diff --git a/sys/modules/ce/Makefile b/sys/modules/ce/Makefile
index 18f75f633f90..998f4081a366 100644
--- a/sys/modules/ce/Makefile
+++ b/sys/modules/ce/Makefile
@@ -10,3 +10,4 @@ SRCS += device_if.h bus_if.h pci_if.h
CWARNFLAGS.tau32-ddk.c+= ${NO_WCONSTANT_CONVERSION}
CWARNFLAGS.tau32-ddk.c+= ${NO_WMISLEADING_INDENTATION}
+CWARNFLAGS.tau32-ddk.c+= ${NO_WUNUSED_BUT_SET_VARIABLE}