ypldap: fix -Wunused-but-set-variable warnings
authornaddy <naddy@openbsd.org>
Sat, 5 Feb 2022 22:59:58 +0000 (22:59 +0000)
committernaddy <naddy@openbsd.org>
Sat, 5 Feb 2022 22:59:58 +0000 (22:59 +0000)
commit509b4fc58de2573ed77ab447dc938912010911fb
tree71ba86ae75562608d84fd8aefe01631f2d13dd66
parent917b5357f260d1b395eeb9e99125de4ea75d6d73
ypldap: fix -Wunused-but-set-variable warnings

* wrlen has been write-only since the code was imported
* removing "dns_pid" mirrors ntpd/ntp.c 1.122
* ifdef out unfinished code in yp_check()

ok millert@ deraadt@
usr.sbin/ypldap/entries.c
usr.sbin/ypldap/ldapclient.c
usr.sbin/ypldap/yp.c