From a7226bd93d9973e37f3e5bcf30fdb712c3debb1a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 4 May 2019 15:12:31 -0400 Subject: [PATCH] remove unused variables --- src/SPIN/fix_nve_spin.cpp | 2 +- src/SPIN/fix_setforce_spin.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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