From dd1c96d8ede3a65908f8d509820d4aa4215cea5b Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 27 Aug 2020 14:03:34 +0300 Subject: [PATCH] Fix error of unreachable code --- src/SMESHFiltersSelection/SMESH_NumberFilter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx b/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx index e5d480e35..78eed3a23 100644 --- a/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx +++ b/src/SMESHFiltersSelection/SMESH_NumberFilter.cxx @@ -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; -- 2.39.2