summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-02-13 08:16:32 +0000
committerflorian <florian@openbsd.org>2020-02-13 08:16:32 +0000
commitc87794a00a7160fd4d3cfe36da3d126dc792b4ef (patch)
tree123afb3b6a55a1c7db4025746c4132fd4f89b95e
parentWe are not interested in working around shortcomings of ancient (diff)
unifdef USEINITALWS, was never defined
-rw-r--r--usr.bin/dig/host.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.bin/dig/host.c b/usr.bin/dig/host.c
index 269684a2b59..7c6054c5273 100644
--- a/usr.bin/dig/host.c
+++ b/usr.bin/dig/host.c
@@ -259,14 +259,7 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
&target);
if (result != ISC_R_SUCCESS)
return (result);
-#ifdef USEINITALWS
- if (first) {
- print_name = &empty_name;
- first = ISC_FALSE;
- }
-#else
UNUSED(first); /* Shut up compiler. */
-#endif
} else {
loopresult = dns_rdataset_first(rdataset);
while (loopresult == ISC_R_SUCCESS) {