Fixes coverity issue CID 179436

This commit is contained in:
Richard Berger
2017-05-22 17:30:46 -04:00
parent 06a4f47a4c
commit 617ca4e0c8

View File

@ -35,6 +35,12 @@ enum{NONE,INT,DOUBLE,STRING,PTR};
PythonImpl::PythonImpl(LAMMPS *lmp) : Pointers(lmp) PythonImpl::PythonImpl(LAMMPS *lmp) : Pointers(lmp)
{ {
ninput = noutput = 0;
istr = NULL;
ostr = NULL;
format = NULL;
length_longstr = 0;
// pfuncs stores interface info for each Python function // pfuncs stores interface info for each Python function
nfunc = 0; nfunc = 0;