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:
@@ -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,
|
||||
|
@@ -1076,7 +1076,8 @@ Standard_Integer TreatLC (const TheArc& A,
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
IntStart_SearchOnBoundaries::IntStart_SearchOnBoundaries ()
|
||||
: done(Standard_False)
|
||||
: done(Standard_False),
|
||||
all(Standard_False)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user