diff --git a/src/USER-MANIFOLD/manifold_spine.cpp b/src/USER-MANIFOLD/manifold_spine.cpp index 730c048a07..1081ab673e 100644 --- a/src/USER-MANIFOLD/manifold_spine.cpp +++ b/src/USER-MANIFOLD/manifold_spine.cpp @@ -41,7 +41,7 @@ double manifold_spine::g_and_n( const double *x, double *nn ) double c = params[4]; double cc, BB, z2, xy2; - double az2, c2, cs, As, Ac, AsM, Bz2, azc, Apart; + double c2, As, Ac, azc, Apart; double AMs, AMc; double dazc, dAMs; @@ -89,8 +89,8 @@ void manifold_spine::n( const double *x, double *nn ) double B2 = params[3]; double c = params[4]; - double cc, BB, z2, xy2; - double az2, c2, cs, As, Ac, AsM, Bz2, azc, Apart; + double cc, BB, z2; + double c2, As, Ac, azc, Apart; double AMs, AMc; double dazc, dAMs; @@ -102,7 +102,6 @@ void manifold_spine::n( const double *x, double *nn ) cc = 1.0; } - xy2 = x[0]*x[0] + x[1]*x[1]; z2 = x[2]*x[2]; c2 = 1.0/( cc*cc ); @@ -136,9 +135,8 @@ double manifold_spine::g( const double *x ) double c = params[4]; double cc, BB, z2, xy2; - double az2, c2, cs, As, Ac, AsM, Bz2, azc, Apart; - double AMs, AMc; - double dazc, dAMs; + double c2, As, azc, Apart; + double AMs; if( x[2] > 0 ){ BB = B; diff --git a/src/VORONOI/compute_voronoi_atom.cpp b/src/VORONOI/compute_voronoi_atom.cpp index d367e91a96..ffdf5b7fad 100644 --- a/src/VORONOI/compute_voronoi_atom.cpp +++ b/src/VORONOI/compute_voronoi_atom.cpp @@ -250,7 +250,7 @@ void ComputeVoronoi::buildCells() double *sublo = domain->sublo, *sublo_lamda = domain->sublo_lamda, *boxlo = domain->boxlo; double *subhi = domain->subhi, *subhi_lamda = domain->subhi_lamda; double *cut = comm->cutghost; - double sublo_bound[3], subhi_bound[3], cut_bound[3]; + double sublo_bound[3], subhi_bound[3]; double **x = atom->x; // setup bounds for voro++ domain for orthogonal and triclinic simulation boxes