mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03: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:
@@ -82,6 +82,9 @@ static Standard_Boolean CheckThin(const TopoDS_Shape& w,
|
||||
//=======================================================================
|
||||
|
||||
BRepCheck_Face::BRepCheck_Face (const TopoDS_Face& F)
|
||||
: myIntres(BRepCheck_NoError),
|
||||
myImbres(BRepCheck_NoError),
|
||||
myOrires(BRepCheck_NoError)
|
||||
{
|
||||
Init(F);
|
||||
myIntdone = Standard_False;
|
||||
|
@@ -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);
|
||||
}
|
||||
|
@@ -130,6 +130,9 @@ static Standard_Boolean GetPnt2d(const TopoDS_Vertex &theVertex,
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
BRepCheck_Wire::BRepCheck_Wire(const TopoDS_Wire& W)
|
||||
: myCdone(Standard_False),
|
||||
myCstat(BRepCheck_NoError),
|
||||
myGctrl(Standard_False)
|
||||
{
|
||||
Init(W);
|
||||
}
|
||||
|
Reference in New Issue
Block a user