From: Arnaud Charlet Date: Wed, 22 Apr 2020 07:51:24 +0000 (-0400) Subject: [Ada] Suppress CodePeer message on possible uninitialized variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=668fb87d746afb36e22e48972fe379deb3a2184a;p=gcc.git [Ada] Suppress CodePeer message on possible uninitialized variable 2020-06-18 Arnaud Charlet gcc/ada/ * sem_ch4.adb (Check_Compatible_Profiles): Add explicit initialization. --- diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb index 556f209fdc6..fa231358a2c 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