mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025734: GCC warnings in Android build
Warnings were fixed. Fixed wrong re-initialization.
This commit is contained in:
@@ -480,7 +480,6 @@ void BOPAlgo_BuilderSolid::PerformLoops()
|
||||
//=================================================
|
||||
//
|
||||
// 2. Post Treatment
|
||||
Standard_Integer aNbFA;
|
||||
BRep_Builder aBB;
|
||||
BOPCol_MapOfOrientedShape AddedFacesMap;
|
||||
BOPCol_IndexedDataMapOfShapeListOfShape aEFMap;
|
||||
@@ -520,8 +519,6 @@ void BOPAlgo_BuilderSolid::PerformLoops()
|
||||
aEFMap.Clear();
|
||||
AddedFacesMap.Clear();
|
||||
//
|
||||
aNbFA=myShapesToAvoid.Extent();
|
||||
//
|
||||
aItM.Initialize(myShapesToAvoid);
|
||||
for (; aItM.More(); aItM.Next()) {
|
||||
const TopoDS_Shape& aFF=aItM.Key();
|
||||
@@ -570,7 +567,7 @@ void BOPAlgo_BuilderSolid::PerformLoops()
|
||||
void BOPAlgo_BuilderSolid::PerformAreas()
|
||||
{
|
||||
Standard_Boolean bIsGrowth, bIsHole;
|
||||
Standard_Integer k,aNbHoles;
|
||||
Standard_Integer k;
|
||||
BRep_Builder aBB;
|
||||
BOPCol_ListIteratorOfListOfShape aItLS;
|
||||
BOPCol_ListOfShape aNewSolids, aHoleShells;
|
||||
@@ -669,7 +666,7 @@ void BOPAlgo_BuilderSolid::PerformAreas()
|
||||
aSelector.Clear();
|
||||
aSelector.SetBox(aBoxSolid);
|
||||
//
|
||||
aNbHoles=aBBTree.Select(aSelector);
|
||||
aBBTree.Select(aSelector);
|
||||
//
|
||||
const BOPCol_ListOfInteger& aLI=aSelector.Indices();
|
||||
//
|
||||
@@ -767,7 +764,7 @@ void BOPAlgo_BuilderSolid::PerformInternalShapes()
|
||||
}
|
||||
//
|
||||
Standard_Boolean bIsInternalFace;
|
||||
Standard_Integer k, aNbVFS, aNbSLF, aNbVFP, aNbF, aNbA;
|
||||
Standard_Integer k, aNbVFS, aNbSLF, aNbVFP, aNbA;
|
||||
BRep_Builder aBB;
|
||||
TopoDS_Iterator aIt;
|
||||
TopExp_Explorer aExp;
|
||||
@@ -856,7 +853,7 @@ void BOPAlgo_BuilderSolid::PerformInternalShapes()
|
||||
aSelector.Clear();
|
||||
aSelector.SetBox(aBox);
|
||||
//
|
||||
aNbF=aBBTree.Select(aSelector);
|
||||
aBBTree.Select(aSelector);
|
||||
//
|
||||
const BOPCol_ListOfInteger& aLI=aSelector.Indices();
|
||||
aItLI.Initialize(aLI);
|
||||
|
@@ -1555,20 +1555,10 @@ Standard_Boolean BOPAlgo_PaveFiller::ExtendedTolerance
|
||||
return;
|
||||
}
|
||||
//
|
||||
GeomAbs_SurfaceType aType1, aType2;
|
||||
Handle(Geom_Surface) aS1=BRep_Tool::Surface(aF1);
|
||||
Handle(Geom_Surface) aS2=BRep_Tool::Surface(aF2);
|
||||
GeomAdaptor_Surface aGAS1(aS1);
|
||||
GeomAdaptor_Surface aGAS2(aS2);
|
||||
//
|
||||
aType1=aGAS1.GetType();
|
||||
aType2=aGAS2.GetType();
|
||||
//
|
||||
//if (aType1==GeomAbs_Torus || aType2==GeomAbs_Torus) {
|
||||
GeomAbs_CurveType aTypeC;
|
||||
//
|
||||
const IntTools_Curve& aIC=aNC.Curve();
|
||||
aTypeC=aIC.Type();
|
||||
//if (aTypeC==GeomAbs_BezierCurve || aTypeC==GeomAbs_BSplineCurve) {
|
||||
Handle(Geom2d_Curve) aC2D[2];
|
||||
//
|
||||
|
Reference in New Issue
Block a user