1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

Warnings is IntPatch_ImpImpIntersection_4.gxx on unix platforms and in ViewerTest.cxx on win32 vc14 were eliminated

This commit is contained in:
apn 2016-12-16 12:17:19 +03:00
parent 24542bc056
commit eadea5ea03
2 changed files with 5 additions and 5 deletions

View File

@ -2815,7 +2815,7 @@ IntPatch_ImpImpIntersection::IntStatus IntCyCy(const IntSurf_Quadric& theQuad1,
anUexpect[i] = anUf;
}
Standard_Real aCriticalDelta[aNbCritPointsMax];
Standard_Real aCriticalDelta[aNbCritPointsMax] = {0};
for(Standard_Integer aCritPID = 0; aCritPID < aNbCritPoints; aCritPID++)
{ //We are not interested in elements of aCriticalDelta array
//if their index is greater than or equal to aNbCritPoints

View File

@ -2225,14 +2225,14 @@ static Standard_Integer VAspects (Draw_Interpretor& /*theDI*/,
}
aChangeSet->ToSetHatch = 1;
TCollection_AsciiString anArg (theArgVec[++anArgIter]);
if (anArg.Length() <= 2)
TCollection_AsciiString anArgHatch (theArgVec[++anArgIter]);
if (anArgHatch.Length() <= 2)
{
aChangeSet->StdHatchStyle = Draw::Atoi (anArg.ToCString());
aChangeSet->StdHatchStyle = Draw::Atoi (anArgHatch.ToCString());
}
else
{
aChangeSet->PathToHatchPattern = anArg;
aChangeSet->PathToHatchPattern = anArgHatch;
}
}
else