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

@@ -116,6 +116,7 @@ static void CopyRanges (const TopoDS_Shape& toedge, const TopoDS_Shape& fromedge
//=======================================================================
BRepTools_ReShape::BRepTools_ReShape()
: myStatus(-1)
{
myConsiderLocation = Standard_False;
}

View File

@@ -63,7 +63,10 @@ static Standard_Real GetNextParamOnPC(const Handle(Geom2d_Curve)& aPC,
//function : BRepTools_WireExplorer
//purpose :
//=======================================================================
BRepTools_WireExplorer::BRepTools_WireExplorer()
BRepTools_WireExplorer::BRepTools_WireExplorer()
: myReverse(Standard_False),
myTolU(0.0),
myTolV(0.0)
{
}