aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2020-04-22 03:51:24 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-06-18 05:08:23 -0400
commit668fb87d746afb36e22e48972fe379deb3a2184a (patch)
treedd3de2cd017b764fc96e5d313f841fe5480d4527 /gcc/ada
parenta9fb2055f3a7a05e493bbb614aca5ed3a19b80d2 (diff)
downloadgcc-668fb87d746afb36e22e48972fe379deb3a2184a.zip
gcc-668fb87d746afb36e22e48972fe379deb3a2184a.tar.gz
gcc-668fb87d746afb36e22e48972fe379deb3a2184a.tar.bz2
[Ada] Suppress CodePeer message on possible uninitialized variable
2020-06-18 Arnaud Charlet <charlet@adacore.com> gcc/ada/ * sem_ch4.adb (Check_Compatible_Profiles): Add explicit initialization.
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/sem_ch4.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb
index 556f209..fa23135 100644
--- a/gcc/ada/sem_ch4.adb
+++ b/gcc/ada/sem_ch4.adb
@@ -6677,8 +6677,8 @@ package body Sem_Ch4 is
I : Interp_Index;
It : Interp;
I1 : Interp_Index := 0;
- Found : Boolean := False;
- Tmp : Entity_Id;
+ Found : Boolean := False;
+ Tmp : Entity_Id := Empty;
begin
if not Is_Overloaded (N) then