diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-07-27 16:42:12 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-07-27 16:42:12 +0000 |
commit | 008afe5148553f9565ee064bb04f396e1e0ddf8c (patch) | |
tree | 0c5e3cdc442a6e060ffca8de3eddbbfa791a4f05 /libgfortran | |
parent | 7aa34e7a72a84335eb06d5afef13c9e5e5b61f8e (diff) | |
download | gcc-008afe5148553f9565ee064bb04f396e1e0ddf8c.zip gcc-008afe5148553f9565ee064bb04f396e1e0ddf8c.tar.gz gcc-008afe5148553f9565ee064bb04f396e1e0ddf8c.tar.bz2 |
* io/unix.c (stream_ttyname): Mark argument as potentialy unused.
From-SVN: r126983
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 fcb5f44..c0a81fa 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 ded0d05..87d001e 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); |