diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-10-17 13:30:48 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-10-17 13:30:48 +0000 |
commit | 064c6a353ddfd949a407209aacb6e3b6911266a8 (patch) | |
tree | ab6210c78b7872be830a4f438f0e35c882335ab3 /usr.sbin/smtpd | |
parent | 3864e93d334169d0078e91bc76624be4fb2974b7 (diff) |
remove unused variables
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/dns.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/dns.c b/usr.sbin/smtpd/dns.c index ded22995dbd..808a28ccb1c 100644 --- a/usr.sbin/smtpd/dns.c +++ b/usr.sbin/smtpd/dns.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dns.c,v 1.81 2015/01/20 17:37:54 deraadt Exp $ */ +/* $OpenBSD: dns.c,v 1.82 2015/10/17 13:30:47 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -264,9 +264,6 @@ dns_imsg(struct mproc *p, struct imsg *imsg) m_end(&m); (void)strlcpy(s->name, mx, sizeof(s->name)); - sa = (struct sockaddr *)&ss; - sl = sizeof(ss); - as = res_query_async(domain, C_IN, T_MX, NULL); if (as == NULL) { m_create(s->p, IMSG_MTA_DNS_MX_PREFERENCE, 0, 0, -1); |