Author: abartlet
Date: 2006-08-13 10:20:21 +0000 (Sun, 13 Aug 2006)
New Revision: 17517

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17517

Log:
Fix declaration after statement, which breaks the build on older GCC.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/misc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/misc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/misc.c    2006-08-13 08:00:36 UTC (rev 
17516)
+++ branches/SAMBA_4_0/source/torture/misc.c    2006-08-13 10:20:21 UTC (rev 
17517)
@@ -439,14 +439,14 @@
 */
 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) {

Reply via email to