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

@@ -12,7 +12,11 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
IntStart_PathPoint::IntStart_PathPoint () {
IntStart_PathPoint::IntStart_PathPoint ()
: tol(0.0),
isnew(Standard_True),
param(0.0)
{
}
IntStart_PathPoint::IntStart_PathPoint (const gp_Pnt& P,

View File

@@ -1076,7 +1076,8 @@ Standard_Integer TreatLC (const TheArc& A,
//purpose :
//=======================================================================
IntStart_SearchOnBoundaries::IntStart_SearchOnBoundaries ()
: done(Standard_False)
: done(Standard_False),
all(Standard_False)
{
}

View File

@@ -12,7 +12,11 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
IntStart_Segment::IntStart_Segment () {}
IntStart_Segment::IntStart_Segment ()
: hasfp(Standard_False),
haslp(Standard_False)
{
}
void IntStart_Segment::SetLimitPoint (const ThePathPoint& V,