summaryrefslogtreecommitdiff
path: root/bfd/archive.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-07-11 19:49:48 +0000
committerIan Lance Taylor <ian@airs.com>1999-07-11 19:49:48 +0000
commit4126d3ea95f48508addd8cb4d2739b8f77307f7a (patch)
treef53883e0e162453d9f5cb65fba1a61363ec3308a /bfd/archive.c
parentb452a91aed9179442537f304cd1d31c5ed81b9aa (diff)
downloadgdb-4126d3ea95f48508addd8cb4d2739b8f77307f7a.tar.gz
* 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/archive.c')
-rw-r--r--bfd/archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/archive.c b/bfd/archive.c
index ac5aeaf6220..19293af4573 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1178,7 +1178,7 @@ normalize (abfd, file)
#else
static const char *
normalize (abfd, file)
- bfd *abfd;
+ bfd *abfd ATTRIBUTE_UNUSED;
const char *file;
{
const char *filename = strrchr (file, '/');