diff options
author | Ghjuvan Lacambre <lacambre@adacore.com> | 2021-08-04 17:46:04 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-10-01 06:13:35 +0000 |
commit | 1b482832d5699f3cf248ea5dd7341bba8ca85417 (patch) | |
tree | dae022785ecd9ddb26489fa9563f114bf1a55f9a /gcc | |
parent | c4f826d933368a60087f9bcc72c798cf005a6636 (diff) | |
download | gcc-1b482832d5699f3cf248ea5dd7341bba8ca85417.zip gcc-1b482832d5699f3cf248ea5dd7341bba8ca85417.tar.gz gcc-1b482832d5699f3cf248ea5dd7341bba8ca85417.tar.bz2 |
[Ada] Fix CodePeer warnings
gcc/ada/
* sem_aggr.adb (Resolve_Iterated_Component_Association):
Initialize Id_Typ to Any_Type by default.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sem_aggr.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_aggr.adb b/gcc/ada/sem_aggr.adb index c4c4d91..752b84d 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 -- |