Sketcher: Remove unused variables (#21504)

removed unused variables
This commit is contained in:
mosfet80
2025-05-25 00:19:46 +02:00
committed by GitHub
parent 15ed1a07a9
commit 41c750be47
2 changed files with 1 additions and 2 deletions

View File

@@ -3703,7 +3703,7 @@ int SketchObject::split(int GeoId, const Base::Vector3d& point)
// FIXME: we should be able to transfer these to new curves smoothly
deleteUnusedInternalGeometryAndUpdateGeoId(GeoId);
const auto* geoAsCurve = getGeometry<Part::GeomCurve>(GeoId);
bool isOriginalCurveConstruction = GeometryFacade::getConstruction(geoAsCurve);
bool isOriginalCurvePeriodic = isClosedCurve(geoAsCurve);
std::vector<int> newIds;
std::vector<Part::Geometry*> newGeos;

View File

@@ -1368,7 +1368,6 @@ void PropertySheet::addDependencies(CellAddress key)
for (auto& var : expression->getIdentifiers()) {
for (auto& dep : var.first.getDep(true)) {
App::DocumentObject* docObj = dep.first;
App::Document* doc = docObj->getDocument();
std::string docObjName = docObj->getFullName();