summaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-08 23:31:36 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-08 23:31:36 +0000
commita87f55b0e1b3118008e546d82fefa4a928bf002f (patch)
tree6c7371947344b072d9af9974f0f4b55d2b94f60f /gcc/fortran
parente6e27594e209793ae0d348ff0b277d0735b409cd (diff)
downloadgcc-a87f55b0e1b3118008e546d82fefa4a928bf002f.tar.gz
* scanner.c (get_file): Add ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87207 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/scanner.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 3153282dabf..092cfe2ee04 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-09 Paul Brook <paul@codesourcery.com>
+
+ * scanner.c (get_file): Add ATTRIBUTE_UNUSED.
+
2004-09-08 Paul Brook <paul@codesourcery.com>
* array.c: Don't include assert.h.
diff --git a/gcc/fortran/scanner.c b/gcc/fortran/scanner.c
index a470639c260..f6bff59c5e1 100644
--- a/gcc/fortran/scanner.c
+++ b/gcc/fortran/scanner.c
@@ -801,7 +801,7 @@ load_line (FILE * input, char **pbuf, char *filename, int linenum)
the file stack. */
static gfc_file *
-get_file (char *name, enum lc_reason reason)
+get_file (char *name, enum lc_reason reason ATTRIBUTE_UNUSED)
{
gfc_file *f;