mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -91,11 +91,7 @@ Standard_Integer DetectKPart(const TopoDS_Edge& Edge1,
|
||||
// find the particular case
|
||||
gp_Pnt pos1, pos;
|
||||
Standard_Real dist;
|
||||
#ifndef DEB
|
||||
Standard_Real dist1 =0.;
|
||||
#else
|
||||
Standard_Real dist1;
|
||||
#endif
|
||||
gp_Ax1 axe1, axe;
|
||||
|
||||
if (degen1) {
|
||||
|
Reference in New Issue
Block a user