diff options
author | Michael Adam <obnox@samba.org> | 2016-03-03 09:27:42 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2016-03-03 13:09:25 +0100 |
commit | 272d06d40b7338de7db8954192f42c7340753920 (patch) | |
tree | 24b9e539a1f0d6047618ff4733a251588130383a /source3/smbd/smb2_create.c | |
parent | 2fd54b533292e54de8c289fb093748fb171c15a7 (diff) | |
download | samba-272d06d40b7338de7db8954192f42c7340753920.tar.gz |
smbd:smb2: move op variable into scope of use in smb2_create_send
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd/smb2_create.c')
-rw-r--r-- | source3/smbd/smb2_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index d50b20c8746..17bddc1266a 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -474,7 +474,6 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, struct smb2_create_blob *dhnq = NULL; struct smb2_create_blob *dh2q = NULL; struct smb2_create_blob *rqls = NULL; - struct smbXsrv_open *op = NULL; bool replay_operation = false; if(lp_fake_oplocks(SNUM(smb2req->tcon->compat))) { @@ -670,6 +669,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, struct smb2_lease *lease_ptr = NULL; ssize_t lease_len = -1; bool need_replay_cache = false; + struct smbXsrv_open *op = NULL; #if 0 struct smb2_create_blob *svhdx = NULL; #endif |