mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-17 03:41:36 +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:
@@ -329,7 +329,9 @@ static Standard_Boolean NonSingularProcessing(const gp_Vec& theDU,
|
||||
//--------------------------------------------------------------------------------
|
||||
ApproxInt_ImpPrmSvSurfaces::ApproxInt_ImpPrmSvSurfaces( const TheISurface& ISurf
|
||||
,const ThePSurface& PSurf):
|
||||
MyIsTangent(Standard_False),
|
||||
MyHasBeenComputed(Standard_False),
|
||||
MyIsTangentbis(Standard_False),
|
||||
MyHasBeenComputedbis(Standard_False),
|
||||
MyImplicitFirst(Standard_True),
|
||||
MyZerImpFunc(PSurf,ISurf)
|
||||
@@ -338,7 +340,9 @@ ApproxInt_ImpPrmSvSurfaces::ApproxInt_ImpPrmSvSurfaces( const TheISurface& ISurf
|
||||
//--------------------------------------------------------------------------------
|
||||
ApproxInt_ImpPrmSvSurfaces::ApproxInt_ImpPrmSvSurfaces( const ThePSurface& PSurf
|
||||
,const TheISurface& ISurf):
|
||||
MyIsTangent(Standard_False),
|
||||
MyHasBeenComputed(Standard_False),
|
||||
MyIsTangentbis(Standard_False),
|
||||
MyHasBeenComputedbis(Standard_False),
|
||||
MyImplicitFirst(Standard_False),
|
||||
MyZerImpFunc(PSurf,ISurf)
|
||||
|
||||
@@ -29,7 +29,9 @@
|
||||
//--------------------------------------------------------------------------------
|
||||
ApproxInt_PrmPrmSvSurfaces::ApproxInt_PrmPrmSvSurfaces( const ThePSurface& Surf1
|
||||
,const ThePSurface& Surf2):
|
||||
MyIsTangent(Standard_False),
|
||||
MyHasBeenComputed(Standard_False),
|
||||
MyIsTangentbis(Standard_False),
|
||||
MyHasBeenComputedbis(Standard_False),
|
||||
MyIntersectionOn2S(Surf1,Surf2,TOLTANGENCY)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user