summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-12-10 17:54:05 +0100
committerJeremy Allison <jra@samba.org>2013-12-12 14:21:28 -0800
commit7964a8344787ffce332d98dcbc0f2f64222693b3 (patch)
tree352b003719f63000cd10c1a7cc45756341357b0f /source4
parent877fe25a0194709993457354c9b43729d3b9d72e (diff)
downloadsamba-7964a8344787ffce332d98dcbc0f2f64222693b3.tar.gz
s4:kdc fix compiler warnings
about set but unused variables Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/kdc/kdc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index a8939069aa4..498ee4d6b40 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -617,10 +617,9 @@ static void kdc_udp_call_sendto_done(struct tevent_req *subreq)
{
struct kdc_udp_call *call = tevent_req_callback_data(subreq,
struct kdc_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 */