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

@ -52,7 +52,7 @@ void AngleDipole::compute(int eflag, int vflag)
int iRef,iDip,iDummy,n,type;
double delx,dely,delz;
double eangle,tangle,f1[3],f3[3];
double r,dr,cosGamma,deltaGamma,kdg,rmu;
double r,cosGamma,deltaGamma,kdg,rmu;
eangle = 0.0;
if (eflag || vflag) ev_setup(eflag,vflag);