git: a28989483e9d - main - wg: drop -Wno-cast-qual from CFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Nov 2022 03:47:42 UTC
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=a28989483e9d4b3488b3b232139fc47b522a6786
commit a28989483e9d4b3488b3b232139fc47b522a6786
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2022-11-05 03:45:36 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-11-05 03:46:55 +0000
wg: drop -Wno-cast-qual from CFLAGS
The latest update fixes the warning by applying const to the correct
part of the pointer.
---
usr.bin/wg/Makefile | 3 ---
1 file changed, 3 deletions(-)
diff --git a/usr.bin/wg/Makefile b/usr.bin/wg/Makefile
index 55cf5fccf53a..6627dfd69e30 100644
--- a/usr.bin/wg/Makefile
+++ b/usr.bin/wg/Makefile
@@ -35,7 +35,4 @@ CWARNFLAGS.curve25519.c+= -Wno-shadow
CWARNFLAGS.config.c+= -Wno-cast-align
CWARNFLAGS.ipc.c+= -Wno-cast-align
-# qsort comparator
-CWARNFLAGS.show.c+= -Wno-cast-qual
-
.include <bsd.prog.mk>