summaryrefslogtreecommitdiff
path: root/source4/ldap_server/ldap_server.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-09-26 18:31:39 -0700
committerMatthieu Patou <mat@matws.net>2012-10-07 21:51:02 -0700
commit97d0ad0c5eeaed7d06a27a21b96b78536b1dc5df (patch)
tree7826d6163e6a98b8db7011dcfe0c61ca3a9819a2 /source4/ldap_server/ldap_server.c
parent5374334d685bd680828aed00f502e6e671e615d7 (diff)
downloadsamba-97d0ad0c5eeaed7d06a27a21b96b78536b1dc5df.tar.gz
samba-97d0ad0c5eeaed7d06a27a21b96b78536b1dc5df.tar.bz2
samba-97d0ad0c5eeaed7d06a27a21b96b78536b1dc5df.zip
ldap-server: remove warning for the ret not being used
Diffstat (limited to 'source4/ldap_server/ldap_server.c')
-rw-r--r--source4/ldap_server/ldap_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index 886c684ff3..2221976cca 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) {