fix issues flagged by compiler warnings.

This commit is contained in:
Axel Kohlmeyer
2014-07-29 16:33:58 -04:00
parent 909a9ff697
commit 526895f7ef
2 changed files with 4 additions and 6 deletions

View File

@ -498,8 +498,6 @@ void FixAdapt::restore_settings()
} else if (ad->which == ATOM) {
if (diamflag) {
int mflag = 0;
if (atom->rmass_flag) mflag = 1;
double density;
double *vec = fix_diam->vstore;