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

0024877: GCC 4.4.5 compiler warnings on Debian when OCCT is bult using CMake

Warnings fixed
This commit is contained in:
abv
2014-04-28 17:12:27 +04:00
committed by bugmaster
parent fc8eab5e09
commit eb1ebea490
4 changed files with 13 additions and 28 deletions

View File

@@ -191,7 +191,7 @@ static void FindBounds(const TColStd_Array1OfReal& Arr,
Standard_Boolean& DerNull)
{
Standard_Integer N;
Standard_Integer N=0;
Standard_Real Tol=Precision::PConfusion()/10;
Hunt(Arr,Coord,N);
DerNull=Standard_False;
@@ -609,7 +609,7 @@ static void Locate2Coord(const Standard_Integer Index,
{
Standard_Real Comp=0,DComp=0,Tmp1=0.0,Tmp2=0.0;
Standard_Real Tol=Precision::PConfusion()/10;
Standard_Integer N, NUp=0, NLo=0;
Standard_Integer N=0, NUp=0, NLo=0;
if(Index==1)
{ Comp=UV.X();
DComp=DUV.Y();