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:
@@ -2409,11 +2409,7 @@ void CalculPtsInterTriEdgeCoplanaires2(const Standard_Integer TriSurfID,
|
||||
Standard_Real pe2p= Cote.Dot(PE2);
|
||||
Standard_Real pt1p= Cote.Dot(PT1);
|
||||
Standard_Real pt2p= Cote.Dot(PT2);
|
||||
#ifndef DEB
|
||||
Standard_Real lambda1 =0.,lambda2 =0.,alpha1 =0.,alpha2 =0.;
|
||||
#else
|
||||
Standard_Real lambda1,lambda2,alpha1,alpha2;
|
||||
#endif
|
||||
IntPolyh_Point PEP1,PTP1,PEP2,PTP2;
|
||||
|
||||
if (pe1p>pe2p) {
|
||||
|
Reference in New Issue
Block a user