remove dead code and silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2018-11-15 16:31:04 -05:00
parent eae9d27f6d
commit 1fc3b4618c
29 changed files with 51 additions and 96 deletions

View File

@ -890,7 +890,7 @@ void Set::set(int keyword)
// enforce quat rotation vector in z dir for 2d systems
else if (keyword == QUAT) {
double *quat;
double *quat = NULL;
if (avec_ellipsoid && atom->ellipsoid[i] >= 0)
quat = avec_ellipsoid->bonus[atom->ellipsoid[i]].quat;
else if (avec_tri && atom->tri[i] >= 0)