aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-09-08 23:31:36 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2004-09-08 23:31:36 +0000
commit4d28e18386e25c88503b7b4a0ed778fbc705b687 (patch)
tree6c7371947344b072d9af9974f0f4b55d2b94f60f
parent667bbbbb7b2783769e76f12b37f83ea763f53d84 (diff)
downloadgcc-4d28e18386e25c88503b7b4a0ed778fbc705b687.zip
gcc-4d28e18386e25c88503b7b4a0ed778fbc705b687.tar.gz
gcc-4d28e18386e25c88503b7b4a0ed778fbc705b687.tar.bz2
* scanner.c (get_file): Add ATTRIBUTE_UNUSED.
From-SVN: r87207
-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 3153282..092cfe2 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 a470639..f6bff59 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;