Coverity scan: Uninitialized scalar variable

* CID 350633
* CID 512344
* CID 514343
This commit is contained in:
wmayer
2024-11-13 12:52:23 +01:00
committed by Chris Hennes
parent ae235ef3e8
commit dbc9615308
3 changed files with 4 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ struct MovingObject
std::string& s)
: obj(o)
, plc(p)
, ref(nullptr)
, rootObj(ro)
, sub(s)
{}
@@ -67,9 +68,8 @@ struct MovingObject
// Default constructor
MovingObject()
: obj(nullptr)
, plc(Base::Placement())
, ref(nullptr)
, rootObj(nullptr)
, sub("")
{}
~MovingObject()