summaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-11 13:21:18 +0000
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-11 13:21:18 +0000
commit1e72b4cbbfc55440fe2a0f3b8ca0d08a80e73b41 (patch)
treeef0ee7f38108246c5648abcdbdf81f87c952edfe /gcc/java
parentf455901f918e341db634bc3e7e751a022ca91389 (diff)
downloadgcc-1e72b4cbbfc55440fe2a0f3b8ca0d08a80e73b41.tar.gz
2012-04-11 Andrew Haley <aph@redhat.com>
* jcf-reader.c (jcf_parse_bootstrap_methods): Add ATTRIBUTE_UNUSED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/jcf-reader.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 49db1cb7bfb..38fc269a3e0 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,5 +1,10 @@
2012-04-11 Andrew Haley <aph@redhat.com>
+ * jcf-reader.c (jcf_parse_bootstrap_methods): Add
+ ATTRIBUTE_UNUSED.
+
+2012-04-11 Andrew Haley <aph@redhat.com>
+
* jcf.h (bootstrap_method): New.
(BootstrapMethods): New.
(JCF): Add BootstrapMethods.
diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.c
index c47436a5b0f..8978de2c196 100644
--- a/gcc/java/jcf-reader.c
+++ b/gcc/java/jcf-reader.c
@@ -36,7 +36,7 @@ static int jcf_parse_fields (JCF *);
static int jcf_parse_one_method (JCF *, int);
static int jcf_parse_methods (JCF *);
static int jcf_parse_final_attributes (JCF *);
-static int jcf_parse_bootstrap_methods (JCF *, int );
+static int jcf_parse_bootstrap_methods (JCF *, int) ATTRIBUTE_UNUSED;
#ifdef NEED_PEEK_ATTRIBUTE
static int peek_attribute (JCF *, int, const char *, int);
#endif