From: Arnaud Charlet Date: Wed, 22 Apr 2020 07:51:24 +0000 (-0400) Subject: [Ada] Suppress CodePeer message on possible uninitialized variable X-Git-Tag: upstream/12.2.0~15470 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=668fb87d746afb36e22e48972fe379deb3a2184a;p=platform%2Fupstream%2Fgcc.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 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