* io/unix.c (stream_ttyname): Mark argument as potentialy unused.

From-SVN: r126983
This commit is contained in:
Francois-Xavier Coudert 2007-07-27 16:42:12 +00:00 committed by François-Xavier Coudert
parent 7aa34e7a72
commit 008afe5148
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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);