aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_res.adb
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2017-11-09 12:46:58 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2017-11-09 12:46:58 +0000
commit5612989e5b06ce72f7c50cd6244c4c98ac4d3c76 (patch)
tree4e4d2e2539ba53d9894776865228bb89446ca3ed /gcc/ada/sem_res.adb
parent88e8ceffa86a4a7e27669535dc9d9148fe072c2c (diff)
downloadgcc-5612989e5b06ce72f7c50cd6244c4c98ac4d3c76.zip
gcc-5612989e5b06ce72f7c50cd6244c4c98ac4d3c76.tar.gz
gcc-5612989e5b06ce72f7c50cd6244c4c98ac4d3c76.tar.bz2
[multiple changes]
2017-11-09 Javier Miranda <miranda@adacore.com> * rtsfind.ads (RE_Id, RE_Unit_Table): Add RE_HT_Link. * exp_disp.adb (Make_DT): Initialize the HT_Link field of the TSD only if available. 2017-11-09 Bob Duff <duff@adacore.com> * exp_ch4.adb, exp_ch9.adb, exp_prag.adb, par-ch3.adb, sem_aggr.adb, sem_ch12.adb, sem_ch13.adb, sem_ch4.adb, sem_disp.adb, sem_prag.adb, sem_res.adb, sem_util.adb: Get rid of warnings about uninitialized variables. From-SVN: r254577
Diffstat (limited to 'gcc/ada/sem_res.adb')
-rw-r--r--gcc/ada/sem_res.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_res.adb b/gcc/ada/sem_res.adb
index 2626d3a..024b879f 100644
--- a/gcc/ada/sem_res.adb
+++ b/gcc/ada/sem_res.adb
@@ -3144,12 +3144,12 @@ package body Sem_Res is
Loc : constant Source_Ptr := Sloc (N);
A : Node_Id;
A_Id : Entity_Id;
- A_Typ : Entity_Id;
+ A_Typ : Entity_Id := Empty; -- init to avoid warning
F : Entity_Id;
F_Typ : Entity_Id;
Prev : Node_Id := Empty;
Orig_A : Node_Id;
- Real_F : Entity_Id;
+ Real_F : Entity_Id := Empty; -- init to avoid warning
Real_Subp : Entity_Id;
-- If the subprogram being called is an inherited operation for