mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +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:
@@ -503,11 +503,7 @@ Handle(Law_Composite) ChFiDS_FilSpine::ComputeLaw
|
||||
|
||||
Handle(Law_Composite) loi = new Law_Composite();
|
||||
Law_Laws& list = loi->ChangeLaws();
|
||||
#ifndef DEB
|
||||
Standard_Real Rdeb = 0., Rfin = 0., Rcur;
|
||||
#else
|
||||
Standard_Real Rdeb, Rfin, Rcur;
|
||||
#endif
|
||||
Standard_Integer icur = 1;
|
||||
Handle(Law_S) sl;
|
||||
Handle(Law_Constant) lastloi;
|
||||
|
Reference in New Issue
Block a user