Module Name: src Committed By: rillig Date: Tue Mar 23 18:46:07 UTC 2021
Modified Files: src/external/mpl/bind/dist/lib/dns: rbtdb.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/mpl/bind/dist/lib/dns/rbtdb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/mpl/bind/dist/lib/dns/rbtdb.c diff -u src/external/mpl/bind/dist/lib/dns/rbtdb.c:1.10 src/external/mpl/bind/dist/lib/dns/rbtdb.c:1.11 --- src/external/mpl/bind/dist/lib/dns/rbtdb.c:1.10 Mon Mar 22 15:12:24 2021 +++ src/external/mpl/bind/dist/lib/dns/rbtdb.c Tue Mar 23 18:46:07 2021 @@ -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 @@ update_rrsetstats(dns_rbtdb_t *rbtdb, co 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;