From ddb41a0214d3b32b4b47a174d8a56620a48eb89e Mon Sep 17 00:00:00 2001 From: gilles Date: Sat, 17 Oct 2015 13:30:47 +0000 Subject: [PATCH] remove unused variables --- usr.sbin/smtpd/dns.c | 5 +---- 1 file changed, 1 insertion(+), 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 @@ -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); -- 2.20.1