aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-taskin.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-29 12:05:44 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-29 12:05:44 +0200
commit91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab (patch)
treee0500df5e9169f2d414cedff64d374e236571d13 /gcc/ada/s-taskin.adb
parent6d47b1e3e982e90a53c20a3f6a7a7ed3cd78132d (diff)
downloadgcc-91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab.zip
gcc-91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab.tar.gz
gcc-91c2cbdb6847c9c1bbf1c0ce9d7e2f9bd7e3e5ab.tar.bz2
[multiple changes]
2009-04-29 Arnaud Charlet <charlet@adacore.com> * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove unused assignment. 2009-04-29 Thomas Quinot <quinot@adacore.com> * make.adb: Minor reformatting. Minor code reorganization throughout. 2009-04-29 Matteo Bordin <bordin@adacore.com> * s-stausa.ads: Changed visibility of type Task_Result: moved to public part to give application visibility over it. This is for future improvement and to build a public API on top of it. Changed record components name of type Task_Result to reflect the new way of reporting. * s-stausa.adb: Actual_Size_Str changed to reflect the new way of reporting Stack usage. * gnat_ugn.texi: Update doc of stack usage report. * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files. * Makefile.rtl: Add new run-time files. From-SVN: r146942
Diffstat (limited to 'gcc/ada/s-taskin.adb')
-rw-r--r--gcc/ada/s-taskin.adb5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/ada/s-taskin.adb b/gcc/ada/s-taskin.adb
index ba5ef09..35fcbdf 100644
--- a/gcc/ada/s-taskin.adb
+++ b/gcc/ada/s-taskin.adb
@@ -176,9 +176,7 @@ package body System.Tasking is
procedure Initialize is
T : Task_Id;
Base_Priority : Any_Priority;
-
- Success : Boolean;
- pragma Warnings (Off, Success);
+ Success : Boolean;
begin
if Initialized then
@@ -195,7 +193,6 @@ package body System.Tasking is
Base_Priority := Priority (Main_Priority);
end if;
- Success := True;
T := STPO.New_ATCB (0);
Initialize_ATCB
(null, null, Null_Address, Null_Task, null, Base_Priority,