Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2022 03:47:42 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a28989483e9d - main - wg: drop -Wno-cast-qual from CFLAGS
Message-ID:  <202211050347.2A53lgHG044697@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211050347.2A53lgHG044697>