mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 15:54:17 +08:00
[Ada] Remove contract duplication in formal doubly linked lists
Remove a minor duplication in Post of a function of formal doubly linked lists. gcc/ada/ * libgnat/a-cfdlli.ads (Insert): Remove the duplication.
This commit is contained in:
parent
576b777891
commit
8244b80342
@ -543,15 +543,7 @@ is
|
||||
Lst => Length (Container),
|
||||
Item => New_Item))
|
||||
|
||||
-- Container contains Count times New_Item at the end
|
||||
|
||||
and M.Constant_Range
|
||||
(Container => Model (Container),
|
||||
Fst => Length (Container)'Old + 1,
|
||||
Lst => Length (Container),
|
||||
Item => New_Item)
|
||||
|
||||
-- A Count cursors have been inserted at the end of Container
|
||||
-- Count cursors have been inserted at the end of Container
|
||||
|
||||
and P_Positions_Truncated
|
||||
(Positions (Container)'Old,
|
||||
|
Loading…
Reference in New Issue
Block a user