cleanup based on clang warnings

- remove unused variables
- add parenthesis, when assignment is used as truth value
- some minor bugfixes
This commit is contained in:
Axel Kohlmeyer
2013-07-14 13:08:06 +02:00
parent c64c45982d
commit eeca24f30d
20 changed files with 51 additions and 95 deletions

View File

@ -193,7 +193,6 @@ int Irregular::migrate_check()
// this check needs to observe PBC
// cannot check via comm->procneigh since it ignores PBC
AtomVec *avec = atom->avec;
double **x = atom->x;
int nlocal = atom->nlocal;