diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-11 19:49:48 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-11 19:49:48 +0000 |
commit | 7442e600c8d771f2d03c6df7415bbfcbf99759b6 (patch) | |
tree | 38991cc5caf814f1e631527af3c58342290b80ff /bfd/hash.c | |
parent | 893e959397e8811195489b574f57fa21ab2f4c5e (diff) | |
download | gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.zip gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.tar.gz gdb-7442e600c8d771f2d03c6df7415bbfcbf99759b6.tar.bz2 |
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate. Fill in structure initializations. Add variable
initializations. Add casts.
* dwarf1.c (parse_line_table): Change eachLine to unsigned long.
(dwarf1_unit_find_nearest_line): Change i to unsigned long.
Diffstat (limited to 'bfd/hash.c')
-rw-r--r-- | bfd/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* hash.c -- hash table routines for BFD - Copyright (C) 1993, 94, 95, 1997 Free Software Foundation, Inc. + Copyright (C) 1993, 94, 95, 97, 1999 Free Software Foundation, Inc. Written by Steve Chamberlain <sac@cygnus.com> This file is part of BFD, the Binary File Descriptor library. @@ -450,7 +450,7 @@ struct bfd_hash_entry * bfd_hash_newfunc (entry, table, string) struct bfd_hash_entry *entry; struct bfd_hash_table *table; - const char *string; + const char *string ATTRIBUTE_UNUSED; { if (entry == (struct bfd_hash_entry *) NULL) entry = ((struct bfd_hash_entry *) |