mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-10 08:08:36 +08:00
0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
Added initialization of fields that had not initialization Added default constructors to classes without constructors
This commit is contained in:
@@ -111,6 +111,11 @@ inline Standard_Boolean IsOriented(const TopoDS_Shape& S)
|
||||
//=======================================================================
|
||||
|
||||
BRepCheck_Shell::BRepCheck_Shell(const TopoDS_Shell& S)
|
||||
: myNbori(0),
|
||||
myCdone(Standard_False),
|
||||
myCstat(BRepCheck_NoError),
|
||||
myOdone(Standard_False),
|
||||
myOstat(BRepCheck_NoError)
|
||||
{
|
||||
Init(S);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user