Salome HOME
Fix error of unreachable code
[modules/smesh.git] / 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;