Salome HOME
Fix error of unreachable code
authoreap <eap@opencascade.com>
Thu, 27 Aug 2020 11:03:34 +0000 (14:03 +0300)
committereap <eap@opencascade.com>
Thu, 27 Aug 2020 11:03:34 +0000 (14:03 +0300)
src/SMESHFiltersSelection/SMESH_NumberFilter.cxx

index e5d480e35520b8650847e86d54e0fcb0e4a63b31..78eed3a23804f0e99745a2b736bf8f2bdc25e25f 100644 (file)
@@ -135,7 +135,7 @@ bool SMESH_NumberFilter::isOk (const SUIT_DataOwner* theDataOwner) const
   }
 
   // Verify number of sub-shapes
-  if (mySubShapeType == TopAbs_SHAPE);
+  if (mySubShapeType == TopAbs_SHAPE)
     return true;
 
   TopTools_IndexedMapOfShape aMap;