public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4003] [Ada] Fix CodePeer warnings
@ 2021-10-01 6:14 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-10-01 6:14 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1b482832d5699f3cf248ea5dd7341bba8ca85417
commit r12-4003-g1b482832d5699f3cf248ea5dd7341bba8ca85417
Author: Ghjuvan Lacambre <lacambre@adacore.com>
Date: Wed Aug 4 17:46:04 2021 +0200
[Ada] Fix CodePeer warnings
gcc/ada/
* sem_aggr.adb (Resolve_Iterated_Component_Association):
Initialize Id_Typ to Any_Type by default.
Diff:
---
gcc/ada/sem_aggr.adb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ada/sem_aggr.adb b/gcc/ada/sem_aggr.adb
index c4c4d9152dc..752b84d6b48 100644
--- a/gcc/ada/sem_aggr.adb
+++ b/gcc/ada/sem_aggr.adb
@@ -1605,7 +1605,7 @@ package body Sem_Aggr is
Loc : constant Source_Ptr := Sloc (N);
Id : constant Entity_Id := Defining_Identifier (N);
- Id_Typ : Entity_Id;
+ Id_Typ : Entity_Id := Any_Type;
-----------------------
-- Remove_References --
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-01 6:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 6:14 [gcc r12-4003] [Ada] Fix CodePeer warnings 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).