From: gilles Date: Sat, 17 Oct 2015 13:30:47 +0000 (+0000) Subject: remove unused variables X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ddb41a0214d3b32b4b47a174d8a56620a48eb89e;p=openbsd remove unused variables --- 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 @@ -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);