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

0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4

Got rid from most cases which led to Warning c4706
Tiny code style corrections
This commit is contained in:
omy
2013-08-01 12:20:35 +04:00
parent 304c45c83f
commit 773f53f1ec
13 changed files with 82 additions and 121 deletions

View File

@@ -1354,9 +1354,8 @@ void GeomPlate_BuildPlateSurface::ComputeSurfInit()
myInitOrder->SetValue( i, i );
}
Standard_Boolean CourbeJoint=Standard_False;
if (NTLinCont != 0 && (CourbeJoint = CourbeJointive( myTol3d )) && IsOrderG1())
Standard_Boolean CourbeJoint = (NTLinCont != 0) && CourbeJointive (myTol3d);
if (CourbeJoint && IsOrderG1())
{
nopt = 3;
// Tableau contenant le nuage de point pour le calcul du plan