summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dns_server/dns_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index e750e33e19..d139eb7e91 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -566,10 +566,9 @@ static void dns_udp_call_sendto_done(struct tevent_req *subreq)
{
struct dns_udp_call *call = tevent_req_callback_data(subreq,
struct dns_udp_call);
- ssize_t ret;
int sys_errno;
- ret = tdgram_sendto_queue_recv(subreq, &sys_errno);
+ tdgram_sendto_queue_recv(subreq, &sys_errno);
/* We don't care about errors */