summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-08-13 12:34:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:32 -0500
commitcc3f852e830cb1dc0d3a2a3fe53a54a15a6cb54a (patch)
tree5d427a6213a488faa0daa38b212e4c7f64be598b /source4/torture
parent8c291e67c5c30bd75a8639f04dfcb4168e939930 (diff)
downloadsamba-cc3f852e830cb1dc0d3a2a3fe53a54a15a6cb54a.tar.gz
samba-cc3f852e830cb1dc0d3a2a3fe53a54a15a6cb54a.tar.bz2
samba-cc3f852e830cb1dc0d3a2a3fe53a54a15a6cb54a.zip
r17522: Fix another declaration after statement.
Andrew Bartlett (This used to be commit a30d312b503c16bd1497752428c178f39dd6227f)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/misc.c b/source4/torture/misc.c
index 884bada545..f04b7782eb 100644
--- a/source4/torture/misc.c
+++ b/source4/torture/misc.c
@@ -614,6 +614,7 @@ NTSTATUS benchrw_mkdir(struct smbcli_request *req,
struct benchrw_state *state)
{
union smb_open *open_parms;
+ uint8_t *writedata;
NT_STATUS_NOT_OK_RETURN(req->status);
@@ -633,7 +634,6 @@ NTSTATUS benchrw_mkdir(struct smbcli_request *req,
open_parms->openx.in.timeout = 0;
open_parms->openx.in.fname = state->fname;
- uint8_t *writedata;
writedata = talloc_size(state->mem_ctx,state->lp_params->blocksize);
NT_STATUS_HAVE_NO_MEMORY(writedata);
generate_random_buffer(writedata,state->lp_params->blocksize);