mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0023529: Uninitialized variable: aSurfType - AIS_DiameterDimension.cxx , line 339
Initialized the variable 'aSurfType'.
This commit is contained in:
parent
1365140bb8
commit
f5a6ee3c32
@ -327,7 +327,7 @@ void AIS_DiameterDimension::ComputeOneFaceDiameter(
|
|||||||
|
|
||||||
gp_Pln aPln;
|
gp_Pln aPln;
|
||||||
Handle( Geom_Surface ) aBasisSurf;
|
Handle( Geom_Surface ) aBasisSurf;
|
||||||
AIS_KindOfSurface aSurfType;
|
AIS_KindOfSurface aSurfType = AIS_KOS_OtherSurface;
|
||||||
Standard_Real Offset;
|
Standard_Real Offset;
|
||||||
if( myAutomaticPosition )
|
if( myAutomaticPosition )
|
||||||
AIS::GetPlaneFromFace( TopoDS::Face( myFShape),
|
AIS::GetPlaneFromFace( TopoDS::Face( myFShape),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user