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:
@@ -828,11 +828,7 @@ void BRepTools_ShapeSet::ReadGeometry(const TopAbs_ShapeEnum T,
|
||||
Standard_Real PfX,PfY,PlX,PlY;
|
||||
gp_Pnt2d aPf, aPl;
|
||||
Standard_Boolean closed;
|
||||
#ifndef DEB
|
||||
GeomAbs_Shape reg = GeomAbs_C0;
|
||||
#else
|
||||
GeomAbs_Shape reg;
|
||||
#endif
|
||||
switch (T) {
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user