public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-5044] [Ada] Fix Codepeer warning
Date: Tue,  9 Nov 2021 09:47:52 +0000 (GMT)	[thread overview]
Message-ID: <20211109094752.9AAF3385843B@sourceware.org> (raw)

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


                 reply	other threads:[~2021-11-09  9:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211109094752.9AAF3385843B@sourceware.org \
    --to=pmderodat@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).