get_spark_xrefs.adb (Get_Nat, Get_Name): Initialize variables when they are declared...
authorArnaud Charlet <charlet@adacore.com>
Mon, 2 May 2016 09:53:16 +0000 (09:53 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 2 May 2016 09:53:16 +0000 (11:53 +0200)
commitbcb0389ef322d30c3031fffe2e6ed0ed7df494d6
tree51a7901301fd632b8cc42618ad15eacd4c8bd780
parentef25192beef53daf8cecb32384b1d69d1cfddac9
get_spark_xrefs.adb (Get_Nat, Get_Name): Initialize variables when they are declared...

2016-05-02  Arnaud Charlet  <charlet@adacore.com>

* get_spark_xrefs.adb (Get_Nat, Get_Name): Initialize variables when
they are declared; refine type of a counter from Integer to Natural.
* sem_ch5.adb, gnatcmd.adb, s-intman-posix.adb, eval_fat.adb,
prj.adb, sem_util.adb, s-intman-android.adb, prj-nmsc.adb, sem_ch8.adb,
exp_ch3.adb: Minor editing.

From-SVN: r235729
12 files changed:
gcc/ada/ChangeLog
gcc/ada/eval_fat.adb
gcc/ada/exp_ch3.adb
gcc/ada/get_spark_xrefs.adb
gcc/ada/gnatcmd.adb
gcc/ada/prj-nmsc.adb
gcc/ada/prj.adb
gcc/ada/s-intman-android.adb
gcc/ada/s-intman-posix.adb
gcc/ada/sem_ch5.adb
gcc/ada/sem_ch8.adb
gcc/ada/sem_util.adb