diff --git a/src/USER-BOCS/fix_bocs.cpp b/src/USER-BOCS/fix_bocs.cpp index 0dad793fd2..d9715362c1 100644 --- a/src/USER-BOCS/fix_bocs.cpp +++ b/src/USER-BOCS/fix_bocs.cpp @@ -64,11 +64,6 @@ enum{ISO,ANISO,TRICLINIC}; const int NUM_INPUT_DATA_COLUMNS = 2; // columns in the pressure correction file -// NB: -// - Keep error and warning messages less than 255 chars long. -// - Allocate your char buffer to be 1 char longer than this -const int MAX_MESSAGE_LENGTH = 255; - /* ---------------------------------------------------------------------- NVT,NPH,NPT integrators for improved Nose-Hoover equations of motion ---------------------------------------------------------------------- */ diff --git a/src/math_eigen_impl.h b/src/math_eigen_impl.h index 5f7dc0a255..a48158de32 100644 --- a/src/math_eigen_impl.h +++ b/src/math_eigen_impl.h @@ -1353,7 +1353,7 @@ PrincipalEigen(ConstMatrix matrix, Scalar eval; // This line does all of the hard work: - size_t itern = ll_engine.run(eval, evec); + ll_engine.run(eval, evec); for (int i = 0; i < n; i++) eigenvector[i] = evec[i]; diff --git a/src/molecule.cpp b/src/molecule.cpp index 3f8498cbe0..f120a964e3 100644 --- a/src/molecule.cpp +++ b/src/molecule.cpp @@ -802,7 +802,7 @@ void Molecule::charges(char *line) readline(line); ValueTokenizer values(line); - if (values.count() != 2) error->one(FLERR,"Invalid Charges section in molecule file"); + if ((int)values.count() != 2) error->one(FLERR,"Invalid Charges section in molecule file"); values.next_int(); q[i] = values.next_double();