summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-16 15:27:53 +0200
committerVolker Lendecke <vl@samba.org>2011-04-16 15:35:05 +0200
commit35c71231accaa2f24a70f4066b967fa4999428f1 (patch)
tree23dec638279a45d0db1861881db37db4eb5e7af7
parent10a552a9570bd274796639ba80d46d2d22828271 (diff)
downloadsamba-35c71231accaa2f24a70f4066b967fa4999428f1.tar.gz
samba-35c71231accaa2f24a70f4066b967fa4999428f1.tar.bz2
samba-35c71231accaa2f24a70f4066b967fa4999428f1.zip
s3: Remove an unused variable
-rw-r--r--source3/lib/tldap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 2f45a056df..cd1dea52ba 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -558,7 +558,6 @@ static void tldap_msg_received(struct tevent_req *subreq)
subreq, struct tldap_context);
struct tevent_req *req;
struct tldap_msg_state *state;
- struct tevent_context *ev;
struct asn1_data *data;
uint8_t *inbuf;
ssize_t received;
@@ -617,8 +616,6 @@ static void tldap_msg_received(struct tevent_req *subreq)
state->inbuf = talloc_move(state, &inbuf);
state->data = talloc_move(state, &data);
- ev = state->ev;
-
talloc_set_destructor(req, NULL);
tldap_msg_unset_pending(req);
num_pending = talloc_array_length(ld->pending);