dead code removal

This commit is contained in:
Axel Kohlmeyer
2021-09-17 22:53:59 -04:00
parent a46b8688ea
commit 5a6c1abeed
6 changed files with 8 additions and 18 deletions

View File

@ -506,7 +506,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) :
else if (strcmp(arg[inflag], "none") == 0) infile = stdin;
else infile = fopen(arg[inflag],"r");
if (infile == nullptr)
error->one(FLERR,"Cannot open input script {}: {}",arg[inflag], utils::getsyserror());
error->one(FLERR,"Cannot open input script {}: {}", arg[inflag], utils::getsyserror());
}
if ((universe->me == 0) && !helpflag)