summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-16 20:25:25 +0100
committerVolker Lendecke <vl@samba.org>2009-03-16 20:45:55 +0100
commit1624b58beb4b3278acf7de721392ccc7dda65013 (patch)
tree591d8c17e32dc5c996004008004c86e9831a0808 /source3/lib
parenta58eccfee742bcecbd4a2e5662305c5077024244 (diff)
downloadsamba-1624b58beb4b3278acf7de721392ccc7dda65013.tar.gz
samba-1624b58beb4b3278acf7de721392ccc7dda65013.tar.bz2
samba-1624b58beb4b3278acf7de721392ccc7dda65013.zip
Remove an unnecessary variable
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/wbclient.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/lib/wbclient.c b/source3/lib/wbclient.c
index b1a4449734..4c3dd889e7 100644
--- a/source3/lib/wbclient.c
+++ b/source3/lib/wbclient.c
@@ -678,7 +678,6 @@ static void wb_trans_connect_done(struct tevent_req *subreq)
subreq, struct async_req);
struct wb_trans_state *state = talloc_get_type_abort(
req->private_data, struct wb_trans_state);
- struct tevent_req *subreq2;
wbcErr wbc_err;
wbc_err = wb_open_pipe_recv(subreq);
@@ -688,12 +687,12 @@ static void wb_trans_connect_done(struct tevent_req *subreq)
return;
}
- subreq2 = wb_int_trans_send(state, state->ev, NULL, state->wb_ctx->fd,
- state->wb_req);
- if (async_req_nomem(subreq2, req)) {
+ subreq = wb_int_trans_send(state, state->ev, NULL, state->wb_ctx->fd,
+ state->wb_req);
+ if (async_req_nomem(subreq, req)) {
return;
}
- tevent_req_set_callback(subreq2, wb_trans_done, req);
+ tevent_req_set_callback(subreq, wb_trans_done, req);
}
static void wb_trans_done(struct tevent_req *subreq)