diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index 1892cb2d3b..7d756b61a7 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -1669,9 +1669,6 @@ void SCH_EDIT_FRAME::FixupJunctions() { size_t num_undos = m_undoList.m_CommandsList.size(); - // We require a set here to avoid adding multiple junctions to the same spot - std::set junctions; - SetCurrentSheet( sheet ); GetCurrentSheet().UpdateAllScreenReferences();