diff --git a/src/SPIN/fix_nve_spin.cpp b/src/SPIN/fix_nve_spin.cpp index 20e0d355b1..9b67b29492 100644 --- a/src/SPIN/fix_nve_spin.cpp +++ b/src/SPIN/fix_nve_spin.cpp @@ -573,7 +573,7 @@ void FixNVESpin::AdvanceSingleSpin(int i) int *sametag = atom->sametag; double **sp = atom->sp; double **fm = atom->fm; - double msq,scale,fm2,energy,dts2; + double fm2,energy,dts2; double cp[3],g[3]; cp[0] = cp[1] = cp[2] = 0.0; diff --git a/src/SPIN/fix_setforce_spin.cpp b/src/SPIN/fix_setforce_spin.cpp index 72ad1ec89a..c2807418ec 100644 --- a/src/SPIN/fix_setforce_spin.cpp +++ b/src/SPIN/fix_setforce_spin.cpp @@ -126,7 +126,6 @@ void FixSetForceSpin::single_setforce_spin(int i, double fmi[3]) { double **x = atom->x; int *mask = atom->mask; - int nlocal = atom->nlocal; // update region if necessary