From 19b62cd19c60ac8035d9fb36e30cb9fc4b6baa7f Mon Sep 17 00:00:00 2001 From: Duncan Mortimer <duncan.mortimer@ndcn.ox.ac.uk> Date: Wed, 25 Jul 2007 12:46:09 +0000 Subject: [PATCH] removed unused variables and predeclared otherwise unused ftype variable --- pt_matrix_mesh.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pt_matrix_mesh.cc b/pt_matrix_mesh.cc index deda1e4..2220375 100644 --- a/pt_matrix_mesh.cc +++ b/pt_matrix_mesh.cc @@ -310,6 +310,7 @@ void mesh_lengths(){ } //////////////////////////////////// float xst,yst,zst,x,y,z; + int ftype; int nparticles=opts.nparticles.value(); int nsteps=opts.nsteps.value(); /////////////////////////////////// @@ -345,11 +346,10 @@ void mesh_lengths(){ path=1; float tmp2; - float randtmp1,randtmp2,randtmp3; ColumnVector th_ph_f; Mesh mseeds; - int ftype=mseeds.load(opts.meshfile.value()); + ftype=mseeds.load(opts.meshfile.value()); mseeds.load_fs_label(opts.seedfile.value()); ColumnVector mni_origin(3),fs_coord_mm(3),xyz_dti,xyz_seeds,dim_seeds(3); dim_seeds<<prob.xdim()<<prob.ydim()<<prob.zdim(); //In seedref space if exists. Else in dti space -- GitLab