aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-direio.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2008-05-27 14:36:04 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2008-05-27 14:36:04 +0200
commit0773617140ab3b8f4192a52bff59deecbacbbcfe (patch)
tree7bff056ed9afc6c3fd50f07b87233416531a31d4 /gcc/ada/s-direio.adb
parentd5c998a9fe701baceed08b46c07844bf5990ee1f (diff)
downloadgcc-0773617140ab3b8f4192a52bff59deecbacbbcfe.zip
gcc-0773617140ab3b8f4192a52bff59deecbacbbcfe.tar.gz
gcc-0773617140ab3b8f4192a52bff59deecbacbbcfe.tar.bz2
a-ststio.adb, [...]: Further code clean up of previous change.
* a-ststio.adb, s-direio.adb: Further code clean up of previous change. Update comments. From-SVN: r136023
Diffstat (limited to 'gcc/ada/s-direio.adb')
-rw-r--r--gcc/ada/s-direio.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/s-direio.adb b/gcc/ada/s-direio.adb
index 328051c..c764a1c 100644
--- a/gcc/ada/s-direio.adb
+++ b/gcc/ada/s-direio.adb
@@ -252,6 +252,9 @@ package body System.Direct_IO is
procedure Reset (File : in out File_Type; Mode : FCB.File_Mode) is
pragma Unmodified (File);
+ -- File is actually modified via Unrestricted_Access below, but
+ -- GNAT will generate a warning anyway.
+
begin
FIO.Reset (AP (File)'Unrestricted_Access, Mode);
File.Index := 1;
@@ -260,6 +263,9 @@ package body System.Direct_IO is
procedure Reset (File : in out File_Type) is
pragma Unmodified (File);
+ -- File is actually modified via Unrestricted_Access below, but
+ -- GNAT will generate a warning anyway.
+
begin
FIO.Reset (AP (File)'Unrestricted_Access);
File.Index := 1;