remove some dead code and reduce compiler warnings in SNAP package

This commit is contained in:
Axel Kohlmeyer
2019-10-18 16:05:39 +02:00
parent a3f7d04199
commit 4e5520ced6
2 changed files with 3 additions and 17 deletions

View File

@ -273,7 +273,7 @@ void PairSNAP::compute_bispectrum()
{
int i,j,jnum,ninside;
double delx,dely,delz,rsq;
int *jlist,*numneigh,**firstneigh;
int *jlist;
double **x = atom->x;
int *type = atom->type;
@ -350,9 +350,9 @@ void PairSNAP::allocate()
global settings
------------------------------------------------------------------------- */
void PairSNAP::settings(int narg, char **arg)
void PairSNAP::settings(int narg, char ** /* arg */)
{
for (int i=0; i < narg; i++)
if (narg > 0)
error->all(FLERR,"Illegal pair_style command");
}