silence compiler warnings about unused variables

This commit is contained in:
Axel Kohlmeyer
2022-08-06 19:59:37 -04:00
parent f92e57ba9e
commit b465d3c86f
3 changed files with 4 additions and 6 deletions

View File

@ -33,7 +33,7 @@ void NPairTrim::build(NeighList *list)
double cutsq_custom = cutoff_custom * cutoff_custom;
int i,j,ii,jj,n,jnum,joriginal;
int ii,jj,n,jnum,joriginal;
int *neighptr,*jlist;
double xtmp,ytmp,ztmp;
double delx,dely,delz,rsq;
@ -71,7 +71,7 @@ void NPairTrim::build(NeighList *list)
for (jj = 0; jj < jnum; jj++) {
joriginal = jlist[jj];
j = joriginal & NEIGHMASK;
const int j = joriginal & NEIGHMASK;
delx = xtmp - x[j][0];
dely = ytmp - x[j][1];