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:
@@ -80,11 +80,7 @@ void BRepLib_MakeWire::Add(const TopTools_ListOfShape& L)
|
||||
rlist.Prepend(edVer);
|
||||
nlist.Prepend(edVer);
|
||||
if (!mapLocale.Contains(edVer)) {
|
||||
#ifndef DEB
|
||||
Standard_Boolean notYetFound = Standard_True;
|
||||
#else
|
||||
Standard_Boolean notYetFound;
|
||||
#endif
|
||||
Standard_Real gap=BRep_Tool::Tolerance(edVer);
|
||||
gp_Pnt pVer=BRep_Tool::Pnt(edVer);
|
||||
for (itMS.Initialize(mapLocale); itMS.More(); itMS.Next()) {
|
||||
@@ -135,11 +131,7 @@ void BRepLib_MakeWire::Add(const TopTools_ListOfShape& L)
|
||||
TopoDS_Vertex vf, vl;
|
||||
TopoDS_Shape theKey;
|
||||
Standard_Boolean usedVertex;
|
||||
#ifndef DEB
|
||||
Standard_Boolean closedEdge = Standard_False;
|
||||
#else
|
||||
Standard_Boolean closedEdge;
|
||||
#endif
|
||||
Standard_Integer vvInd, lastInd;
|
||||
do {
|
||||
if (!VL.IsNull() && lesMeres.Contains(VL)) {
|
||||
|
Reference in New Issue
Block a user