1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0022623: Use of uninitialized variables in HLRBRep_Curve::UpdateMinMax in debug mode

This commit is contained in:
SZV
2011-10-12 06:22:36 +00:00
committed by bugmaster
parent 4714a7a650
commit 733a0e55f0
163 changed files with 966 additions and 1367 deletions

View File

@@ -1,7 +1,7 @@
// File: HLRBRep_Hider.cxx
// Created: Thu Apr 17 19:33:55 1997
// Author: Christophe MARION
// <cma@partox.paris1.matra-dtv.fr>
// File: HLRBRep_Hider.cxx
// Created: Thu Apr 17 19:33:55 1997
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#define No_Standard_OutOfRange
@@ -94,18 +94,9 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
HLRBRep_EdgeInterferenceTool EIT(myDS); // List of Intersections
HLRBRep_Array1OfEData& myEData = myDS->EDataArray();
#ifdef DEB
Standard_Integer EToBeChecked = -1;
#endif
for (; myDS->MoreEdge(); myDS->NextEdge()) { // loop on the Edges
Standard_Integer E = myDS->Edge(); // *****************
#ifdef DEB
if(E == EToBeChecked) {
cout << E << endl;
}
#endif
try {
OCC_CATCH_SIGNALS
Standard_Boolean hasOut = Standard_False;
@@ -589,4 +580,3 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
}
}
}