mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -32,6 +32,10 @@
|
||||
TopClass_Classifier2d::TopClass_Classifier2d() :
|
||||
myIsSet(Standard_False),
|
||||
myFirstCompare(Standard_True),
|
||||
myFirstTrans(Standard_True),
|
||||
myParam(0.0),
|
||||
myTolerance(0.0),
|
||||
myClosest(0),
|
||||
myState(TopAbs_UNKNOWN), // skv OCC12627
|
||||
myIsHeadOrEnd(Standard_False) // skv OCC12627
|
||||
{
|
||||
|
@@ -15,7 +15,12 @@
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
//======================================================================
|
||||
TopClass_Classifier3d::TopClass_Classifier3d() : isSet(Standard_False)
|
||||
TopClass_Classifier3d::TopClass_Classifier3d()
|
||||
: isSet(Standard_False),
|
||||
myParam(0.0),
|
||||
myTolerance(0.0),
|
||||
myState(TopAbs_UNKNOWN),
|
||||
hasIntersect(Standard_False)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user