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:
@@ -170,8 +170,8 @@ void MeshVS_NodalColorPrsBuilder::Build ( const Handle(Prs3d_Presentation)& Prs,
|
||||
if ( !( DisplayMode & GetFlags() ) || !IsElement )
|
||||
return;
|
||||
|
||||
if ( myUseTexture && ( !myTextureCoords.Extent() || !myTextureColorMap.Length() ) ||
|
||||
!myUseTexture && !myNodeColorMap.Extent() )
|
||||
if ( (myUseTexture && ( !myTextureCoords.Extent() || !myTextureColorMap.Length() )) ||
|
||||
(!myUseTexture && !myNodeColorMap.Extent()) )
|
||||
return;
|
||||
|
||||
// subtract the hidden elements and ids to exclude (to minimise allocated memory)
|
||||
|
Reference in New Issue
Block a user