Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/dist/lib/dns bind: remove the workaround f...
details: https://anonhg.NetBSD.org/src/rev/aa6a96672909
branches: trunk
changeset: 960624:aa6a96672909
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Mar 23 18:46:07 2021 +0000
description:
bind: remove the workaround for a bug in lint for compound literals
This bug has been fixed in init.c 1.111 from a few minutes ago.
diffstat:
external/mpl/bind/dist/lib/dns/rbtdb.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diffs (23 lines):
diff -r 5fa822f66914 -r aa6a96672909 external/mpl/bind/dist/lib/dns/rbtdb.c
--- a/external/mpl/bind/dist/lib/dns/rbtdb.c Tue Mar 23 18:40:50 2021 +0000
+++ b/external/mpl/bind/dist/lib/dns/rbtdb.c Tue Mar 23 18:46:07 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rbtdb.c,v 1.10 2021/03/22 15:12:24 rillig Exp $ */
+/* $NetBSD: rbtdb.c,v 1.11 2021/03/23 18:46:07 rillig Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -892,13 +892,9 @@
dns_rdatastatstype_t statattributes = 0;
dns_rdatastatstype_t base = 0;
dns_rdatastatstype_t type;
-#ifdef __lint__ // XXX: bug in lint; see msg_171.c 1.3
- rdatasetheader_t *header;
-#else
rdatasetheader_t *header = &(rdatasetheader_t){
.type = htype, .attributes = ATOMIC_VAR_INIT(hattributes)
};
-#endif
if (!do_stats(header)) {
return;
Home |
Main Index |
Thread Index |
Old Index