mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-23 00:51:00 +08:00
[Ada] Cleanup unnecessary shadowing in expansion of attribute Old
Code cleanup; semantics is unaffected. gcc/ada/ * exp_attr.adb (Expand_N_Attribute_Reference [Attribute_Old]): Remove unnecessary local constant that was shadowing another constant with the same initial value.
This commit is contained in:
parent
eae9f5d257
commit
ff6b2a3e70
@ -4884,7 +4884,6 @@ package body Exp_Attr is
|
||||
---------
|
||||
|
||||
when Attribute_Old => Old : declare
|
||||
Typ : constant Entity_Id := Etype (N);
|
||||
CW_Temp : Entity_Id;
|
||||
CW_Typ : Entity_Id;
|
||||
Decl : Node_Id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user