1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

ldap-server: remove warning for the ret not being used

This commit is contained in:
Matthieu Patou 2012-09-26 18:31:39 -07:00
parent 5374334d68
commit 97d0ad0c5e

View File

@ -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) {