summaryrefslogtreecommitdiff
path: root/libgfortran/io/unix.c
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-27 16:42:12 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-27 16:42:12 +0000
commit7b3e325bece9a82e510dcde8df963ab84f20dc7b (patch)
tree0c5e3cdc442a6e060ffca8de3eddbbfa791a4f05 /libgfortran/io/unix.c
parent08e5dca92fecfab3d843cf5550ade83bb8425e43 (diff)
downloadgcc-7b3e325bece9a82e510dcde8df963ab84f20dc7b.tar.gz
* 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/io/unix.c')
-rw-r--r--libgfortran/io/unix.c2
1 files changed, 1 insertions, 1 deletions
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);