s4-dns: fix a warning
authorMatthieu Patou <mat@matws.net>
Wed, 3 Oct 2012 07:37:34 +0000 (00:37 -0700)
committerMatthieu Patou <mat@samba.org>
Mon, 8 Oct 2012 08:45:40 +0000 (10:45 +0200)
Autobuild-User(master): Matthieu Patou <mat@samba.org>
Autobuild-Date(master): Mon Oct  8 10:45:41 CEST 2012 on sn-devel-104

source4/dns_server/dns_server.c

index e750e33e19ab832ee530803b4cc7ecf37ec1c121..d139eb7e91514fb22a8896768b99382ddafebb4f 100644 (file)
@@ -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 */