[Ada] Fix Codepeer warning
authorGhjuvan Lacambre <lacambre@adacore.com>
Tue, 2 Nov 2021 10:32:24 +0000 (11:32 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Nov 2021 09:44:50 +0000 (09:44 +0000)
gcc/ada/

* freeze.adb (Check_Inherited_Conditions): Initialize
Ifaces_List.

gcc/ada/freeze.adb

index 726e200..4d09956 100644 (file)
@@ -1791,7 +1791,7 @@ package body Freeze is
          return Result;
       end Needs_Wrapper;
 
-      Ifaces_List    : Elist_Id;
+      Ifaces_List    : Elist_Id := No_Elist;
       Ifaces_Listed  : Boolean := False;
       --  Cache the list of interface operations inherited by R