diff --git a/src/USER-MISC/fix_bond_react.cpp b/src/USER-MISC/fix_bond_react.cpp index bd1d22aa1f..86da8a0c4f 100644 --- a/src/USER-MISC/fix_bond_react.cpp +++ b/src/USER-MISC/fix_bond_react.cpp @@ -646,7 +646,7 @@ void FixBondReact::post_integrate() neighbor->build_one(list,1); - int i,j; + int j; for (rxnID = 0; rxnID < nreacts; rxnID++) { @@ -892,7 +892,7 @@ void FixBondReact::close_partner() n = 0; if (closeneigh[rxnID] != 0) n = nspecial[ii][closeneigh[rxnID]-1]; - for (n; n < nspecial[ii][closeneigh[rxnID]]; n++) { + for (; n < nspecial[ii][closeneigh[rxnID]]; n++) { i1 = ii; i2 = atom->map(special[ii][n]); jtype = type[i2];