mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +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:
@@ -164,11 +164,7 @@ static Standard_Real EvalPhase(const TopoDS_Edge& Edge,
|
||||
{
|
||||
gp_Pnt2d PE1,PE2,PF1,PF2;
|
||||
Standard_Real VDeg;
|
||||
#ifndef DEB
|
||||
Standard_Real V = 0.;
|
||||
#else
|
||||
Standard_Real V;
|
||||
#endif
|
||||
BRep_Tool::UVPoints(Edge,Face,PE1,PE2);
|
||||
VDeg = PE1.Y();
|
||||
TopExp_Explorer Exp(Face,TopAbs_EDGE);
|
||||
|
Reference in New Issue
Block a user