NULLing ptrs in comm_brick and dump*.cpp

This commit is contained in:
Anders Hafreager
2016-11-07 15:50:18 +01:00
parent 77bbf03f0f
commit b221b15d24
7 changed files with 22 additions and 7 deletions

View File

@ -52,7 +52,8 @@ static inline void fwrite_int32(FILE* fd, uint32_t i)
/* ---------------------------------------------------------------------- */
DumpDCD::DumpDCD(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg)
DumpDCD::DumpDCD(LAMMPS *lmp, int narg, char **arg) : Dump(lmp, narg, arg),
coords(NULL)
{
if (narg != 5) error->all(FLERR,"Illegal dump dcd command");
if (binary || compressed || multifile || multiproc)