remove unused variable from all copies of _asr_strdname()
authornaddy <naddy@openbsd.org>
Thu, 20 Jan 2022 14:18:10 +0000 (14:18 +0000)
committernaddy <naddy@openbsd.org>
Thu, 20 Jan 2022 14:18:10 +0000 (14:18 +0000)
commitce6743a3b05387e650bcbabf73c82d33d634a9dc
tree615532203a85f223ca10e9c045630cadc87b1678
parentf97418dd228d3b12472179d02a3889b40dfd7d78
remove unused variable from all copies of _asr_strdname()

... including those inlined into print_dname().  This also fixes
-Wunused-but-set-variable warnings warnings in smtpd and smtpctl.
The code was imported with asr and then copied around.

ok deraadt@ guenther@
lib/libc/asr/asr.c
regress/lib/libc/asr/bin/res_mkquery.c
regress/lib/libc/asr/bin/res_query.c
usr.sbin/smtpd/unpack_dns.c