aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_disp.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_disp.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_disp.adb')
-rw-r--r--gcc/ada/sem_disp.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_disp.adb b/gcc/ada/sem_disp.adb
index e84fda2..4cc41e3 100644
--- a/gcc/ada/sem_disp.adb
+++ b/gcc/ada/sem_disp.adb
@@ -404,7 +404,7 @@ package body Sem_Disp is
Func : Entity_Id;
Subp_Entity : Entity_Id;
Indeterm_Ancestor_Call : Boolean := False;
- Indeterm_Ctrl_Type : Entity_Id;
+ Indeterm_Ctrl_Type : Entity_Id := Empty; -- init to avoid warning
Static_Tag : Node_Id := Empty;
-- If a controlling formal has a statically tagged actual, the tag of