summaryrefslogtreecommitdiff
path: root/gas/hash.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 20:20:04 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 20:20:04 +0000
commit1028cb02108762bdf53240336338350bc881fae1 (patch)
tree29d504c8272994c07ea5a80b6914fcfef4748d43 /gas/hash.c
parenta08cc784a6a2143e670a435c33c8af248c6706a7 (diff)
downloadbinutils-redhat-1028cb02108762bdf53240336338350bc881fae1.tar.gz
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations. Add variable initializations. Add casts. * dwarf2dbg.c (print_stats): Change i to size_t. * listing.c (listing_listing): Change list_line to unsigned int.
Diffstat (limited to 'gas/hash.c')
-rw-r--r--gas/hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/hash.c b/gas/hash.c
index 29066339c3..0f129fb3fa 100644
--- a/gas/hash.c
+++ b/gas/hash.c
@@ -374,9 +374,9 @@ hash_traverse (table, pfn)
void
hash_print_statistics (f, name, table)
- FILE *f;
- const char *name;
- struct hash_control *table;
+ FILE *f ATTRIBUTE_UNUSED;
+ const char *name ATTRIBUTE_UNUSED;
+ struct hash_control *table ATTRIBUTE_UNUSED;
{
#ifdef HASH_STATISTICS
unsigned int i;