Skip to content

Commit

Permalink
removing unused code refs #12
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 30, 2024
1 parent eb05fc1 commit 1720f32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/netedit/elements/network/GNEJunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1032,9 +1032,7 @@ GNEJunction::invalidateTLS(GNEUndoList* undoList, const NBConnection& deletedCon
} else {
// recompute crossing indices along with everything else
for (const auto& crossing : myGNECrossings) {
const std::string oldValue = crossing->getAttribute(SUMO_ATTR_TLLINKINDEX);
GNEChange_Attribute::changeAttribute(crossing, SUMO_ATTR_TLLINKINDEX, toString(NBConnection::InvalidTlIndex), undoList, true);
const std::string oldValue2 = crossing->getAttribute(SUMO_ATTR_TLLINKINDEX2);
GNEChange_Attribute::changeAttribute(crossing, SUMO_ATTR_TLLINKINDEX2, toString(NBConnection::InvalidTlIndex), undoList, true);
}
replacementDef = new NBOwnTLDef(newID, tlDef->getOffset(), tlDef->getType());
Expand Down

0 comments on commit 1720f32

Please sign in to comment.