simpler variant of the segfault workaround, that does not offend Clang c++.

This commit is contained in:
Axel Kohlmeyer
2016-11-10 14:12:02 -05:00
parent 2b75ee761d
commit bfc478c320

View File

@ -90,7 +90,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
suffix = suffix2 = NULL;
suffix_enable = 0;
if (arg) exename = arg[0];
else exename = (const char *)"(LAMMPS)";
else exename = NULL;
packargs = NULL;
num_package = 0;
char *rfile = NULL;