X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFiltersPlugin%2FFiltersPlugin_BelongsTo.cpp;h=8ed7e6564b09db53b5561ae492c1856b98733065;hb=bea0049157a83f382b4557fa930425e260ee6845;hp=7a99d113f438d53d6cd83fa1f4dc90955ef297cf;hpb=81c6f8eb49d8c9d7115e9a883977d50ce2409186;p=modules%2Fshaper.git diff --git a/src/FiltersPlugin/FiltersPlugin_BelongsTo.cpp b/src/FiltersPlugin/FiltersPlugin_BelongsTo.cpp index 7a99d113f..8ed7e6564 100644 --- a/src/FiltersPlugin/FiltersPlugin_BelongsTo.cpp +++ b/src/FiltersPlugin/FiltersPlugin_BelongsTo.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -21,7 +21,7 @@ #include -bool FiltersPlugin_BelongsTo::isSupported(GeomAPI_Shape::ShapeType theType) const +bool FiltersPlugin_BelongsTo::isSupported(GeomAPI_Shape::ShapeType /*theType*/) const { return true; } @@ -35,8 +35,8 @@ bool FiltersPlugin_BelongsTo::isOk(const GeomShapePtr& theShape, const ResultPtr if (!aList.get()) return false; for (int i = 0; i < aList->size(); i++) { - AttributeSelectionPtr aAttr = aList->value(i); - GeomShapePtr aGeom = aAttr->value(); + AttributeSelectionPtr aCurAttr = aList->value(i); + GeomShapePtr aGeom = aCurAttr->value(); if (aGeom && aGeom->isSubShape(theShape)) return true; }