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:
@@ -909,12 +909,8 @@ Standard_Integer BRepClass3d_SolidExplorer::Segment(const gp_Pnt& P,
|
||||
|
||||
IntCurvesFace_Intersector& BRepClass3d_SolidExplorer::Intersector(const TopoDS_Face& F) const {
|
||||
void *ptr = (void*)(myMapOfInter.Find(F));
|
||||
#ifndef DEB
|
||||
IntCurvesFace_Intersector& curr = (*((IntCurvesFace_Intersector *)ptr));
|
||||
return curr;
|
||||
#else
|
||||
return(*((IntCurvesFace_Intersector *)ptr));
|
||||
#endif
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user