NULLed ptrs in files

This commit is contained in:
Anders Hafreager
2016-11-07 16:07:37 +01:00
parent f8226e8ae5
commit 45f2e86dd6
9 changed files with 30 additions and 15 deletions

View File

@ -23,8 +23,10 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
RegIntersect::RegIntersect(LAMMPS *lmp, int narg, char **arg) :
Region(lmp, narg, arg)
Region(lmp, narg, arg), idsub(NULL)
{
nregion = 0;
if (narg < 5) error->all(FLERR,"Illegal region command");
int n = force->inumeric(FLERR,arg[2]);
if (n < 2) error->all(FLERR,"Illegal region command");