From 97d0ad0c5eeaed7d06a27a21b96b78536b1dc5df Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Wed, 26 Sep 2012 18:31:39 -0700 Subject: [PATCH 09/20] ldap-server: remove warning for the ret not being used --- source4/ldap_server/ldap_server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c index 886c684..2221976 100644 --- a/source4/ldap_server/ldap_server.c +++ b/source4/ldap_server/ldap_server.c @@ -99,10 +99,9 @@ static void ldapsrv_terminate_connection_done(struct tevent_req *subreq) struct ldapsrv_connection *conn = tevent_req_callback_data(subreq, struct ldapsrv_connection); - int ret; int sys_errno; - ret = tstream_disconnect_recv(subreq, &sys_errno); + tstream_disconnect_recv(subreq, &sys_errno); TALLOC_FREE(subreq); if (conn->sockets.active == conn->sockets.raw) { -- 1.7.9.5