]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Remove unused initialization with New_List
authorPiotr Trojanek <trojanek@adacore.com>
Sun, 28 Feb 2021 23:03:47 +0000 (00:03 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 16 Jun 2021 08:43:03 +0000 (04:43 -0400)
gcc/ada/

* exp_ch3.adb (Build_Slice_Assignment): Remove unused
initialization.

gcc/ada/exp_ch3.adb

index 23b5b348a506d6c268f4520a098f651f1f8d9096..90529f1e7ab5053db958b1236c551d1cc63a614e 100644 (file)
@@ -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 (