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

@ -1138,7 +1138,7 @@ void Input::partition()
{
if (narg < 3) error->all(FLERR,"Illegal partition command");
int yesflag;
int yesflag = 0;
if (strcmp(arg[0],"yes") == 0) yesflag = 1;
else if (strcmp(arg[0],"no") == 0) yesflag = 0;
else error->all(FLERR,"Illegal partition command");