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:
parent
1365140bb8
commit
f5a6ee3c32
@ -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),
|
||||
|
Loading…
x
Reference in New Issue
Block a user