NULLing ptrs in comm_brick and dump*.cpp
This commit is contained in:
@ -26,7 +26,8 @@ using namespace LAMMPS_NS;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
DumpXYZ::DumpXYZ(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg)
|
||||
DumpXYZ::DumpXYZ(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg),
|
||||
typenames(NULL)
|
||||
{
|
||||
if (narg != 5) error->all(FLERR,"Illegal dump xyz command");
|
||||
if (binary || multiproc) error->all(FLERR,"Invalid dump xyz filename");
|
||||
|
||||
Reference in New Issue
Block a user