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:
@@ -53,8 +53,11 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeFix_EdgeProjAux,Standard_Transient)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
ShapeFix_EdgeProjAux::ShapeFix_EdgeProjAux ()
|
||||
: myFirstParam(0.0),
|
||||
myLastParam(0.0),
|
||||
myFirstDone(Standard_False),
|
||||
myLastDone(Standard_False)
|
||||
{
|
||||
myFirstDone = myLastDone = Standard_False;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
@@ -34,7 +34,14 @@
|
||||
//function : ShapeFix_FreeBounds
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
ShapeFix_FreeBounds::ShapeFix_FreeBounds() {}
|
||||
ShapeFix_FreeBounds::ShapeFix_FreeBounds()
|
||||
: myShared(Standard_False),
|
||||
mySewToler(0.0),
|
||||
myCloseToler(0.0),
|
||||
mySplitClosed(Standard_False),
|
||||
mySplitOpen(Standard_False)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeFix_FreeBounds
|
||||
|
Reference in New Issue
Block a user