From 5a4a358f13fa6c01a8930d1792fe85f0caaaedcc Mon Sep 17 00:00:00 2001 From: Paddle Date: Sun, 26 Nov 2023 08:25:03 +0100 Subject: [PATCH] hor/ver tool, remove unused variables --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index 4114986497..af668c9236 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -2681,7 +2681,6 @@ void horVerActivated(CmdSketcherConstraint* cmd, std::string type) // get the needed lists and objects const std::vector& SubNames = selection[0].getSubNames(); auto* Obj = static_cast(selection[0].getObject()); - const std::vector& vals = Obj->Constraints.getValues(); std::vector edgegeoids; std::vector pointgeoids; @@ -2800,9 +2799,6 @@ void horVerApplyConstraint(CmdSketcherConstraint* cmd, std::string type, std::ve switch (seqIndex) { case 0:// {Edge} { - // create the constraint - const std::vector& vals = Obj->Constraints.getValues(); - int CrvId = selSeq.front().GeoId; if (CrvId != -1) { const Part::Geometry* geo = Obj->getGeometry(CrvId);