aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2021-03-01 00:03:47 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-06-16 04:43:03 -0400
commit6dc7a8ab14137d77e711e65c4097346b4d6e3799 (patch)
treee888a4003dd9cebfdb233b3dcf4212fbb326fa88
parente027681d90cee11d082fefb937b0233de81e9e7b (diff)
downloadgcc-6dc7a8ab14137d77e711e65c4097346b4d6e3799.zip
gcc-6dc7a8ab14137d77e711e65c4097346b4d6e3799.tar.gz
gcc-6dc7a8ab14137d77e711e65c4097346b4d6e3799.tar.bz2
[Ada] Remove unused initialization with New_List
gcc/ada/ * exp_ch3.adb (Build_Slice_Assignment): Remove unused initialization.
-rw-r--r--gcc/ada/exp_ch3.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb
index 23b5b34..90529f1 100644
--- a/gcc/ada/exp_ch3.adb
+++ b/gcc/ada/exp_ch3.adb
@@ -4388,7 +4388,7 @@ package body Exp_Ch3 is
declare
Spec : Node_Id;
- Formals : List_Id := New_List;
+ Formals : List_Id;
begin
Formals := New_List (