public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5044] [Ada] Fix Codepeer warning
@ 2021-11-09  9:47 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-11-09  9:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:77eb8c649d6dff15e63e2ea71a4a1b513a4be844

commit r12-5044-g77eb8c649d6dff15e63e2ea71a4a1b513a4be844
Author: Ghjuvan Lacambre <lacambre@adacore.com>
Date:   Tue Nov 2 11:32:24 2021 +0100

    [Ada] Fix Codepeer warning
    
    gcc/ada/
    
            * freeze.adb (Check_Inherited_Conditions): Initialize
            Ifaces_List.

Diff:
---
 gcc/ada/freeze.adb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/freeze.adb b/gcc/ada/freeze.adb
index 726e20073fc..4d099566902 100644
--- a/gcc/ada/freeze.adb
+++ b/gcc/ada/freeze.adb
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-09  9:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09  9:47 [gcc r12-5044] [Ada] Fix Codepeer warning Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).