-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
case GeomAPI_Shape::EDGE:
case GeomAPI_Shape::VERTEX:
return true;
+ default: // [to avoid compilation warning]
+ break;
}
return false;
}
if (aFace->isPlanar()) {
GeomPlanePtr aPln = aFace->getPlane();
for (int i = 0; i < aList->size(); i++) {
- AttributeSelectionPtr aAttr = aList->value(i);
- GeomShapePtr aGeom = aAttr->value();
- GeomPlanePtr aPlane = getPlane(aAttr);
+ AttributeSelectionPtr aCurAttr = aList->value(i);
+ GeomPlanePtr aPlane = getPlane(aCurAttr);
if (aPlane->isCoincident(aPln))
return true;
}