Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/lib/libdns libdns: suppress a few lint war...
details: https://anonhg.NetBSD.org/src/rev/f0b2c4b7ca5a
branches: trunk
changeset: 366091:f0b2c4b7ca5a
user: rillig <rillig%NetBSD.org@localhost>
date: Sat May 14 11:43:25 2022 +0000
description:
libdns: suppress a few lint warnings that occur too often
diffstat:
external/mpl/bind/lib/libdns/Makefile | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r cc79a5bb96ff -r f0b2c4b7ca5a external/mpl/bind/lib/libdns/Makefile
--- a/external/mpl/bind/lib/libdns/Makefile Sat May 14 11:26:23 2022 +0000
+++ b/external/mpl/bind/lib/libdns/Makefile Sat May 14 11:43:25 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/04/29 17:26:14 christos Exp $
+# $NetBSD: Makefile,v 1.8 2022/05/14 11:43:25 rillig Exp $
LIB=dns
#USE_SHLIBDIR= yes
@@ -33,6 +33,16 @@
CWARNFLAGS.clang+= -Wno-error=tautological-constant-compare
.endif
+# util.h, ISC_REQUIRE
+LINTFLAGS+= -X 129 # expression has null effect
+# opensslecdsa_link.c, DST_RET does not conform to macro conventions.
+LINTFLAGS+= -X 193 # statement not reached
+# Most casts are to isc__magic_t and thus look intentional.
+LINTFLAGS+= -X 247 # pointer cast from '%s' to '%s' may be troublesome
+# 'uint32_tobuffer(token.value.as_ulong' looks obviously wrong but is used in
+# a lot of places.
+LINTFLAGS+= -X 132 # conversion from '%s' to '%s' may lose accuracy
+LINTFLAGS+= -X 298 # conversion from '%s' to '%s' may lose accuracy, arg #%d
SRCS= acl.c adb.c badcache.c byaddr.c cache.c callbacks.c catz.c \
clientinfo.c compress.c client.c dyndb.c tsec.c ecdb.c ecs.c \
Home |
Main Index |
Thread Index |
Old Index