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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user