mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024177: Eliminate CLang compiler warning -Wlogical-op-parentheses (&& within ||)
Some fixes to eliminate warning
This commit is contained in:
@@ -1663,7 +1663,7 @@ void Geom_OffsetSurface::SetD0(const Standard_Real U, const Standard_Real V,
|
||||
CSLib_NormalStatus NStatus;
|
||||
CSLib::Normal (D1U, D1V, MagTol, NStatus, Normal);
|
||||
|
||||
if ((NStatus == CSLib_Defined)) // akm - only in singularities && !AlongU && !AlongV)
|
||||
if (NStatus == CSLib_Defined) // akm - only in singularities && !AlongU && !AlongV)
|
||||
{
|
||||
P.SetXYZ(P.XYZ() + offsetValue * Normal.XYZ());
|
||||
}
|
||||
|
Reference in New Issue
Block a user