summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-10-03 00:37:34 -0700
committerMatthieu Patou <mat@samba.org>2012-10-08 10:45:40 +0200
commit4b83c43ac27040585fefd61f18d3d111fe3d8a21 (patch)
tree0b74ff1e2322d00ef77be40137ad6d84f8518c21 /source4
parentffab1d7cb28590f8e1ee9b90a8f7dbb84e7adb07 (diff)
downloadsamba-4b83c43ac27040585fefd61f18d3d111fe3d8a21.tar.gz
samba-4b83c43ac27040585fefd61f18d3d111fe3d8a21.tar.bz2
samba-4b83c43ac27040585fefd61f18d3d111fe3d8a21.zip
s4-dns: fix a warning
Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Mon Oct 8 10:45:41 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4')
-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 */