exp_disp.adb (Make_DT): Default initialize Ifaces_List and Ifaces_Comp_List.
authorYannick Moy <moy@adacore.com>
Thu, 9 Nov 2017 12:41:10 +0000 (12:41 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 9 Nov 2017 12:41:10 +0000 (12:41 +0000)
2017-11-09  Yannick Moy  <moy@adacore.com>

* exp_disp.adb (Make_DT): Default initialize Ifaces_List and
Ifaces_Comp_List.

From-SVN: r254576

gcc/ada/ChangeLog
gcc/ada/exp_disp.adb

index acf85c6..3fd6b40 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-09  Yannick Moy  <moy@adacore.com>
+
+       * exp_disp.adb (Make_DT): Default initialize Ifaces_List and
+       Ifaces_Comp_List.
+
 2017-11-09  Pascal Obry  <obry@adacore.com>
 
        * libgnarl/s-taprop__mingw.adb: On Windows, initialize the thead handle
index cab27bb..fd050ca 100644 (file)
@@ -5516,8 +5516,8 @@ package body Exp_Disp is
             declare
                TSD_Ifaces_List  : constant List_Id := New_List;
                Elmt             : Elmt_Id;
-               Ifaces_List      : Elist_Id;
-               Ifaces_Comp_List : Elist_Id;
+               Ifaces_List      : Elist_Id := No_Elist;
+               Ifaces_Comp_List : Elist_Id := No_Elist;
                Ifaces_Tag_List  : Elist_Id;
                Offset_To_Top    : Node_Id;
                Sec_DT_Tag       : Node_Id;