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

@ -37,7 +37,10 @@ enum{INT,DOUBLE};
/* ---------------------------------------------------------------------- */
DumpLocal::DumpLocal(LAMMPS *lmp, int narg, char **arg) :
Dump(lmp, narg, arg)
Dump(lmp, narg, arg),
label(NULL), vtype(NULL), vformat(NULL), columns(NULL), field2index(NULL),
argindex(NULL), id_compute(NULL), compute(NULL), id_fix(NULL), fix(NULL),
pack_choice(NULL)
{
if (narg == 5) error->all(FLERR,"No dump local arguments specified");