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

@ -49,7 +49,9 @@ enum{NO,YES};
/* ---------------------------------------------------------------------- */
DumpImage::DumpImage(LAMMPS *lmp, int narg, char **arg) :
DumpCustom(lmp, narg, arg)
DumpCustom(lmp, narg, arg), phistr(NULL), czstr(NULL), upzstr(NULL), perspstr(NULL),
bdiamtype(NULL), bcolortype(NULL), avec_line(NULL), avec_tri(NULL), avec_body(NULL),
fixptr(NULL), image(NULL), chooseghost(NULL), bufcopy(NULL)
{
if (binary || multiproc) error->all(FLERR,"Invalid dump image filename");