From cc3f852e830cb1dc0d3a2a3fe53a54a15a6cb54a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 13 Aug 2006 12:34:41 +0000 Subject: r17522: Fix another declaration after statement. Andrew Bartlett (This used to be commit a30d312b503c16bd1497752428c178f39dd6227f) --- source4/torture/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit