mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -1374,11 +1374,7 @@ static Standard_Boolean UpdateVertex(TopoDS_Vertex V,
|
||||
BRepAdaptor_Curve NC(NE);
|
||||
Standard_Real Of = OC.FirstParameter(); Standard_Real Ol = OC.LastParameter();
|
||||
Standard_Real Nf = NC.FirstParameter(); Standard_Real Nl = NC.LastParameter();
|
||||
#ifndef DEB
|
||||
Standard_Real U = 0.;
|
||||
#else
|
||||
Standard_Real U;
|
||||
#endif
|
||||
Standard_Real ParTol = Precision::PConfusion();
|
||||
gp_Pnt P = BRep_Tool::Pnt(V);
|
||||
Standard_Boolean OK = Standard_False;
|
||||
|
Reference in New Issue
Block a user