aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gnatcmd.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@adacore.com>2016-05-02 09:53:16 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2016-05-02 11:53:16 +0200
commitbcb0389ef322d30c3031fffe2e6ed0ed7df494d6 (patch)
tree51a7901301fd632b8cc42618ad15eacd4c8bd780 /gcc/ada/gnatcmd.adb
parentef25192beef53daf8cecb32384b1d69d1cfddac9 (diff)
downloadgcc-bcb0389ef322d30c3031fffe2e6ed0ed7df494d6.zip
gcc-bcb0389ef322d30c3031fffe2e6ed0ed7df494d6.tar.gz
gcc-bcb0389ef322d30c3031fffe2e6ed0ed7df494d6.tar.bz2
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
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
-rw-r--r--gcc/ada/gnatcmd.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gnatcmd.adb b/gcc/ada/gnatcmd.adb
index 542d370..ce880ca 100644
--- a/gcc/ada/gnatcmd.adb
+++ b/gcc/ada/gnatcmd.adb
@@ -701,7 +701,7 @@ begin
if Call_GPR_Tool then
case The_Command is
when Make | Compile | Bind | Link =>
- if Locate_Exec_On_Path (Gprbuild) /= null then
+ if Locate_Exec_On_Path (Gprbuild) /= null then
Program := new String'(Gprbuild);
Get_Target := True;