From 668fb87d746afb36e22e48972fe379deb3a2184a Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Wed, 22 Apr 2020 03:51:24 -0400 Subject: [PATCH] [Ada] Suppress CodePeer message on possible uninitialized variable 2020-06-18 Arnaud Charlet gcc/ada/ * sem_ch4.adb (Check_Compatible_Profiles): Add explicit initialization. --- gcc/ada/sem_ch4.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2