silence compiler warnings

This commit is contained in:
Axel Kohlmeyer 2021-07-28 16:16:22 -04:00
parent b59f23068f
commit 32be894ae2
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
5 changed files with 2 additions and 5 deletions

View File

@ -80,7 +80,7 @@ void AtomVecOxdna::data_atom_post(int ilocal)
store 5' partner to inform 3'->5' bond directionality
------------------------------------------------------------------------- */
void AtomVecOxdna::data_bonds_post(int m, int num_bond, tagint atom1, tagint atom2,
void AtomVecOxdna::data_bonds_post(int /*m*/, int /*num_bond*/, tagint atom1, tagint atom2,
tagint id_offset)
{
int n;

View File

@ -255,7 +255,6 @@ void PairOxdnaStk::compute(int eflag, int vflag)
double f1,f4t4,f4t5,f4t6,f5c1,f5c2;
double df1,df4t4,df4t5,df4t6,df5c1,df5c2;
double tptofp;
evdwl = 0.0;
ev_init(eflag,vflag);

View File

@ -272,7 +272,6 @@ void PairOxrna2Stk::compute(int eflag, int vflag)
double f1,f4t5,f4t6,f4t9,f4t10,f5c1,f5c2;
double df1,df4t5,df4t6,df4t9,df4t10,df5c1,df5c2;
double tptofp;
evdwl = 0.0;
ev_init(eflag,vflag);

View File

@ -609,7 +609,6 @@ void PPPMDispDielectric::fieldforce_c_ad()
double *q = atom->q;
double **x = atom->x;
double **f = atom->f;
double *eps = atom->epsilon;
int nlocal = atom->nlocal;
for (i = 0; i < nlocal; i++) {

View File

@ -68,7 +68,7 @@ FixMesoMove::FixMesoMove (LAMMPS *lmp, int narg, char **arg) :
// parse args
int iarg;
int iarg = narg;
if (strcmp(arg[3],"linear") == 0) {
if (narg < 7) error->all(FLERR,"Illegal fix meso/move command");