diff options
-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); |