PVS: V730 Not all members of a class are initialized inside the constructor

This commit is contained in:
wmayer
2020-07-16 20:38:30 +02:00
parent 7566bd1343
commit cbb5f99ade
17 changed files with 32 additions and 17 deletions

View File

@@ -460,7 +460,7 @@ PyObject* DocumentObjectPy::getSubObject(PyObject *args, PyObject *keywds)
Py::Object obj;
Py::Object pyObj;
Base::Matrix4D mat;
SubInfo(const Base::Matrix4D &mat):mat(mat){}
SubInfo(const Base::Matrix4D &mat) : sobj(nullptr), mat(mat){}
};
Base::Matrix4D mat;