mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-15 20:17:41 +08: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:
@@ -31,9 +31,13 @@
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
GeomAPI_ExtremaCurveCurve::GeomAPI_ExtremaCurveCurve()
|
||||
: myIsDone(Standard_False),
|
||||
myIndex(0),
|
||||
myTotalExt(Standard_False),
|
||||
myIsInfinite(Standard_False),
|
||||
myTotalDist(0.0)
|
||||
{
|
||||
myIsDone = Standard_False;
|
||||
myTotalExt = Standard_False;
|
||||
memset (myTotalPars, 0, sizeof (myTotalPars));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user