1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

0025734: GCC warnings in Android build

Warnings were fixed.

Fixed wrong re-initialization.
This commit is contained in:
ski
2015-02-05 14:23:17 +03:00
committed by bugmaster
parent 5fd3308acd
commit bcf50875e3
29 changed files with 103 additions and 172 deletions

View File

@@ -3020,14 +3020,16 @@ void BSplCLib::Interpolate(const Standard_Integer Degree,
InterpolationMatrix,
UpperBandWidth,
LowerBandWidth) ;
Standard_OutOfRange_Raise_if (ErrorCode != 0, "BSplCLib::Interpolate") ;
if(ErrorCode)
Standard_OutOfRange::Raise("BSplCLib::Interpolate");
ErrorCode =
BSplCLib::FactorBandedMatrix(InterpolationMatrix,
UpperBandWidth,
LowerBandWidth,
InversionProblem) ;
Standard_OutOfRange_Raise_if (ErrorCode != 0, "BSplCLib::Interpolate") ;
if(ErrorCode)
Standard_OutOfRange::Raise("BSplCLib::Interpolate");
ErrorCode =
BSplCLib::SolveBandedSystem(InterpolationMatrix,
@@ -3035,9 +3037,9 @@ void BSplCLib::Interpolate(const Standard_Integer Degree,
LowerBandWidth,
ArrayDimension,
Poles) ;
Standard_OutOfRange_Raise_if (ErrorCode != 0,"BSplCLib::Interpolate") ;
}
if(ErrorCode)
Standard_OutOfRange::Raise("BSplCLib::Interpolate");
}
//=======================================================================
//function : Interpolate
@@ -3067,14 +3069,16 @@ void BSplCLib::Interpolate(const Standard_Integer Degree,
InterpolationMatrix,
UpperBandWidth,
LowerBandWidth) ;
Standard_OutOfRange_Raise_if (ErrorCode != 0, "BSplCLib::Interpolate") ;
if(ErrorCode)
Standard_OutOfRange::Raise("BSplCLib::Interpolate");
ErrorCode =
BSplCLib::FactorBandedMatrix(InterpolationMatrix,
UpperBandWidth,
LowerBandWidth,
InversionProblem) ;
Standard_OutOfRange_Raise_if (ErrorCode != 0, "BSplCLib::Interpolate") ;
if(ErrorCode)
Standard_OutOfRange::Raise("BSplCLib::Interpolate");
ErrorCode =
BSplCLib::SolveBandedSystem(InterpolationMatrix,
@@ -3084,8 +3088,8 @@ void BSplCLib::Interpolate(const Standard_Integer Degree,
ArrayDimension,
Poles,
Weights) ;
Standard_OutOfRange_Raise_if (ErrorCode != 0,"BSplCLib::Interpolate") ;
if(ErrorCode)
Standard_OutOfRange::Raise("BSplCLib::Interpolate");
}
//=======================================================================