1
0
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:
mkrylova
2020-07-17 13:08:31 +03:00
committed by bugmaster
parent 078f916446
commit d533dafb56
293 changed files with 1790 additions and 304 deletions

View File

@@ -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;
}
//=======================================================================

View File

@@ -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