summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-08-13 10:20:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:32 -0500
commit44523cfb8ec25596fcccaa94224265f0bb24dc29 (patch)
tree911dd333a6023d590e0102f6efeab4da7394a7c2
parenta23b63a8e54db7d0ec98ad95cdca11dd4d039e17 (diff)
downloadsamba-44523cfb8ec25596fcccaa94224265f0bb24dc29.tar.gz
samba-44523cfb8ec25596fcccaa94224265f0bb24dc29.tar.bz2
samba-44523cfb8ec25596fcccaa94224265f0bb24dc29.zip
r17517: Fix declaration after statement, which breaks the build on older GCC.
Andrew Bartlett (This used to be commit 55bac30e1f7fdf8f2e81d29f8d29a269ceefb0d2)
-rw-r--r--source4/torture/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/misc.c b/source4/torture/misc.c
index 2eb12e98c6..884bada545 100644
--- a/source4/torture/misc.c
+++ b/source4/torture/misc.c
@@ -439,14 +439,14 @@ static BOOL torture_ioctl_test(struct torture_context *torture)
*/
int init_benchrw_params(TALLOC_CTX *mem_ctx,struct params *lpar)
{
+ char **unc_list = NULL;
+ int num_unc_names = 0, conn_index=0, empty_lines=0;
+ const char *p;
lpar->retry = lp_parm_int(-1, "torture", "retry",3);
lpar->blocksize = lp_parm_int(-1, "torture", "blocksize",65535);
lpar->writeblocks = lp_parm_int(-1, "torture", "writeblocks",15);
lpar->writeratio = lp_parm_int(-1, "torture", "writeratio",5);
lpar->workgroup = lp_workgroup();
- char **unc_list = NULL;
- int num_unc_names = 0, conn_index=0, empty_lines=0;
- const char *p;
p = lp_parm_string(-1, "torture", "unclist");
if (p) {