mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0023604: Uninitialized variables in debug mode
Removed #ifndef DEB ... #else ... #endif directives where the variables were being initialized only in release mode. Removed unused part of code.
This commit is contained in:
@@ -651,11 +651,7 @@ static Standard_Boolean CircleFromPlanarFace(const TopoDS_Face& aFace,
|
||||
void AIS_DiameterDimension::ComputeOnePlanarFaceDiameter(const Handle(Prs3d_Presentation)& aPresentation)
|
||||
{
|
||||
gp_Pnt curPos ;
|
||||
#ifndef DEB
|
||||
Standard_Real parfirst =0., parend =0.;
|
||||
#else
|
||||
Standard_Real parfirst, parend;
|
||||
#endif
|
||||
if (myAutomaticPosition) {
|
||||
Handle(Geom_Curve) curv;
|
||||
gp_Pnt ptfirst,ptend;
|
||||
|
Reference in New Issue
Block a user