From b20dd2ce19d4b550ed801ead75acf451ea9036c6 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 30 Jul 2010 16:29:58 +0000 Subject: [PATCH] Add ATTRIBUTE_UNUSED to info in compute_bucket_count. 2010-07-30 H.J. Lu * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info. --- bfd/ChangeLog | 4 ++++ bfd/elflink.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6b1de15cef3..9b4223f8df9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-07-30 H.J. Lu + + * elflink.c (compute_bucket_count): Add ATTRIBUTE_UNUSED to info. + 2010-07-30 Anthony Green * config.bfd (targ_cpu): Add moxie-*-rtems support. diff --git a/bfd/elflink.c b/bfd/elflink.c index f445912dc98..e0fbc830011 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -5352,7 +5352,7 @@ static const size_t elf_buckets[] = Therefore the result is always a good payoff between few collisions (= short chain lengths) and table size. */ static size_t -compute_bucket_count (struct bfd_link_info *info, +compute_bucket_count (struct bfd_link_info *info ATTRIBUTE_UNUSED, unsigned long int *hashcodes ATTRIBUTE_UNUSED, unsigned long int nsyms, int gnu_hash) -- 2.30.2