mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-15 04:04:07 +08:00
0024096: Eliminate compiler warning C4505 in MSVC++ with warning level 4
Removed obsolete functions from sources. Some useful debug functions were 'defined' ( put into #ifdef ...#endif ) Removed some redundant code
This commit is contained in:
@@ -129,16 +129,6 @@
|
||||
#include <BRepBuilderAPI_BndBoxTreeSelector.hxx>
|
||||
#include <NCollection_UBTreeFiller.hxx>
|
||||
|
||||
static void SortBox (const Handle(Bnd_HArray1OfBox) hSetBoxes,
|
||||
const Bnd_Box& aBox,
|
||||
TColStd_ListOfInteger& listIndex)
|
||||
{
|
||||
Standard_Integer i, nbBoxes = hSetBoxes->Length();
|
||||
for (i = 1; i <= nbBoxes; i++)
|
||||
if (!aBox.IsOut(hSetBoxes->Value(i)))
|
||||
listIndex.Append(i);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : SameRange
|
||||
//purpose :
|
||||
|
||||
Reference in New Issue
Block a user