From 4d28e18386e25c88503b7b4a0ed778fbc705b687 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Wed, 8 Sep 2004 23:31:36 +0000 Subject: [PATCH] * scanner.c (get_file): Add ATTRIBUTE_UNUSED. From-SVN: r87207 --- gcc/fortran/ChangeLog | 4 ++++ gcc/fortran/scanner.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * scanner.c (get_file): Add ATTRIBUTE_UNUSED. + 2004-09-08 Paul Brook * 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; -- 2.30.2