r17517: Fix declaration after statement, which breaks the build on older GCC.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 13 Aug 2006 10:20:21 +0000 (10:20 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:15:32 +0000 (14:15 -0500)
Andrew Bartlett
(This used to be commit 55bac30e1f7fdf8f2e81d29f8d29a269ceefb0d2)

source4/torture/misc.c

index 2eb12e98c680dddd675a022036a5139533758e7c..884bada545cc65216ecfbb0cf1b85df2163c6db6 100644 (file)
@@ -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) {