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);