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

0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)

Some fixes to eliminate warning
This commit is contained in:
omy
2013-09-16 13:22:20 +04:00
committed by bugmaster
parent e97ea58f01
commit 0ebaa4dbc9
47 changed files with 197 additions and 204 deletions

View File

@@ -356,10 +356,10 @@ Standard_Boolean TopOpeBRepTool_mkTondgE::MkTonE(const TopoDS_Edge& ei, Standard
Standard_Real dot = tgi.Dot(xxri);
if (Abs(dot) < FUN_tola())
{
if (!onfi && !onli || closedi)
{ mkT = MKI12; return Standard_True; }
else
dot = tgi.Dot(tgin1di);
if ((!onfi && !onli) || closedi)
{ mkT = MKI12; return Standard_True; }
else
dot = tgi.Dot(tgin1di);
}
Standard_Boolean keepang = (dot > 0);
if (keepang) mkT = outin ? MKI1 : MKI2;