projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9fb205
)
[Ada] Suppress CodePeer message on possible uninitialized variable
author
Arnaud Charlet
<charlet@adacore.com>
Wed, 22 Apr 2020 07:51:24 +0000
(
03:51
-0400)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Thu, 18 Jun 2020 09:08:23 +0000
(
05:08
-0400)
2020-06-18 Arnaud Charlet <charlet@adacore.com>
gcc/ada/
* sem_ch4.adb (Check_Compatible_Profiles): Add explicit
initialization.
gcc/ada/sem_ch4.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_ch4.adb
b/gcc/ada/sem_ch4.adb
index 556f209fdc62e9eca84cf8317b5436285fdc1754..fa231358a2c37e670e3566277a55e417e233504c 100644
(file)
--- 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