Salome HOME
Fix compilation warnings
[modules/smesh.git] / src / SMDS / SMDS_VolumeTool.cxx
index 913281eae5d30c40ab6e9a7e969737d4e16adf12..e982eed28b22a1b75198788ae026aa6733161016 100644 (file)
@@ -1188,10 +1188,12 @@ bool SMDS_VolumeTool::IsLinked (const int theNode1Index,
     if ( minInd >= firstMediumInd )
       return false; // medium nodes are not linked
     if ( maxInd < firstMediumInd ) // both nodes are corners
+    {
       if ( theIgnoreMediumNodes )
         type = SMDSAbs_EntityType( int(type)-1 ); // check linkage of corner nodes
       else
         return false; // corner nodes are not linked directly in a quadratic cell
+    }
   }
 
   switch ( type ) {