diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-27 16:42:12 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-27 16:42:12 +0000 |
commit | 7b3e325bece9a82e510dcde8df963ab84f20dc7b (patch) | |
tree | 0c5e3cdc442a6e060ffca8de3eddbbfa791a4f05 /libgfortran | |
parent | 08e5dca92fecfab3d843cf5550ade83bb8425e43 (diff) | |
download | ppe42-gcc-7b3e325bece9a82e510dcde8df963ab84f20dc7b.tar.gz ppe42-gcc-7b3e325bece9a82e510dcde8df963ab84f20dc7b.zip |
* io/unix.c (stream_ttyname): Mark argument as potentialy unused.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126983 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 4 | ||||
-rw-r--r-- | libgfortran/io/unix.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index fcb5f44e0f6..c0a81fa475c 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,9 @@ 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + * io/unix.c (stream_ttyname): Mark argument as potentialy unused. + +2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> + PR fortran/32035 * runtime/select.c (select_string): Adjust prototype and function so that the return value is an integer, not a pointer. diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index ded0d053d9c..87d001e7c1f 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -1945,7 +1945,7 @@ stream_isatty (stream *s) } char * -stream_ttyname (stream *s) +stream_ttyname (stream *s __attribute__ ((unused))) { #ifdef HAVE_TTYNAME return ttyname (((unix_stream *) s)->fd); |