From f45fd8fe358ebf79dd310adb344941e8404143d1 Mon Sep 17 00:00:00 2001 From: Paddle Date: Sun, 22 Oct 2023 07:45:15 +0200 Subject: [PATCH] Sketcher: commandConstraint : remove leftover bothexternal variable. --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index 526b5f8904..2142e8dd73 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -8744,9 +8744,6 @@ void CmdSketcherConstrainAngle::activated(int iMsg) } else if (SubNames.size() < 3) { - bool bothexternal = areBothPointsOrSegmentsFixed(Obj, GeoId1, GeoId2); - Q_UNUSED(bothexternal) - if (isVertex(GeoId1, PosId1) && isEdge(GeoId2, PosId2)) { std::swap(GeoId1, GeoId2); std::swap(PosId1, PosId2);