Remove compilation warnings

This commit is contained in:
vsr 2012-11-08 06:46:31 +00:00
parent 23dc5a230c
commit 241153143e
4 changed files with 3 additions and 5 deletions

View File

@ -110,7 +110,7 @@ TopAbs_State GEOMAlgo_FinderShapeOnQuad::GetPointState(const gp_Pnt& aP)
// In the case of concave quadrangle, return IN if
// aP is OUT of only one concave side
double nbIn = 0.;
for ( int i = 0; i < myPlanes.size(); ++i )
for ( size_t i = 0; i < myPlanes.size(); ++i )
{
TopAbs_State aSt;
GEOMAlgo_SurfaceTools::GetState(aP, myPlanes[i], myTolerance, aSt);

View File

@ -125,7 +125,7 @@ const NMTTools_CoupleOfShape& GEOMAlgo_GetInPlaceIterator::Value()const
Standard_Integer TypeToInteger(const TopAbs_ShapeEnum aType1,
const TopAbs_ShapeEnum aType2)
{
Standard_Integer iRet, iT1, iT2, iX;
Standard_Integer iRet;
//
iRet=-1;
//

View File

@ -511,8 +511,7 @@ void GEOMAlgo_GlueDetector::CheckDetected
const TopTools_IndexedDataMapOfShapeListOfShape& aMVE,
const TopTools_IndexedDataMapOfShapeListOfShape& aMEV)
{
Standard_Integer i, aNbVSD, aNbA, iRet;
TopAbs_ShapeEnum aTypeS, aTypeA[2];
Standard_Integer aNbVSD, iRet;
TopExp_Explorer aExp, aExpA;
TopTools_MapOfShape aMFence, aMVSD;
TopTools_ListOfShape aLV;

View File

@ -100,7 +100,6 @@ void GEOMAlgo_Gluer2::MakeFace(const TopoDS_Face& theF,
Standard_Boolean bIsToReverse, bIsUPeriodic;
Standard_Integer iRet;
Standard_Real aTol, aUMin, aUMax, aVMin, aVMax;
TopAbs_Orientation aOrE;
Handle(Geom_Surface) aS;
TopLoc_Location aLoc;
TopoDS_Shape aW, aWr;