From 617ca4e0c89be716530fa48b99fc4e643d872b2c Mon Sep 17 00:00:00 2001 From: Richard Berger <richard.berger@temple.edu> Date: Mon, 22 May 2017 17:30:46 -0400 Subject: [PATCH] Fixes coverity issue CID 179436 --- src/PYTHON/python_impl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/PYTHON/python_impl.cpp b/src/PYTHON/python_impl.cpp index 55108eb8c7..25536e55d5 100644 --- a/src/PYTHON/python_impl.cpp +++ b/src/PYTHON/python_impl.cpp @@ -35,6 +35,12 @@ enum{NONE,INT,DOUBLE,STRING,PTR}; 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 nfunc = 0; -- GitLab