1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0023529: Uninitialized variable: aSurfType - AIS_DiameterDimension.cxx , line 339

Initialized the variable 'aSurfType'.
This commit is contained in:
Pawel 2012-11-09 10:24:50 +01:00
parent 1365140bb8
commit f5a6ee3c32

View File

@ -327,7 +327,7 @@ void AIS_DiameterDimension::ComputeOneFaceDiameter(
gp_Pln aPln;
Handle( Geom_Surface ) aBasisSurf;
AIS_KindOfSurface aSurfType;
AIS_KindOfSurface aSurfType = AIS_KOS_OtherSurface;
Standard_Real Offset;
if( myAutomaticPosition )
AIS::GetPlaneFromFace( TopoDS::Face( myFShape),