1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024236: Eliminate GCC compiler warning (uninitialized variables)

This commit is contained in:
ski
2013-10-10 14:47:21 +04:00
committed by bugmaster
parent 012d92b631
commit d20d815bbe
16 changed files with 18 additions and 17 deletions

View File

@@ -810,7 +810,7 @@ void Intf_InterferencePolygonPolyhedron::Intersect
}
if(NoIntersectionWithTriangle == Standard_False) {
gp_XYZ spLieu=BegO.XYZ()+((EndO.XYZ()-BegO.XYZ())*param);
Standard_Real dPiE[3], dPtPi[3], sigd;
Standard_Real dPiE[3] = { 0.0, 0.0, 0.0 }, dPtPi[3], sigd;
Standard_Integer is = 0;
Standard_Integer sEdge=-1;
Standard_Integer sVertex=-1;
@@ -1092,7 +1092,7 @@ void Intf_InterferencePolygonPolyhedron::Intersect (const gp_Pnt& BegO,
}
if(NoIntersectionWithTriangle == Standard_False) {
gp_XYZ spLieu=BegO.XYZ()+((EndO.XYZ()-BegO.XYZ())*param);
Standard_Real dPiE[3], dPtPi[3], sigd;
Standard_Real dPiE[3] = { 0.0, 0.0, 0.0 }, dPtPi[3], sigd;
Standard_Integer is = 0;
Standard_Integer sEdge=-1;
Standard_Integer sVertex=-1;