From e58a75dc2d5600115065e89bc67ad261ab4c0088 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 4 May 2002 01:55:39 +0000 Subject: [PATCH] * ar.c (replace_members): Remove unused var. Formatting fix. * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED. --- binutils/ChangeLog | 3 +++ binutils/ar.c | 4 ++-- binutils/binemul.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 97898c7422d..7aa4fad2e45 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,8 @@ 2002-05-04 Alan Modra + * ar.c (replace_members): Remove unused var. Formatting fix. + * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED. + * MAINTAINERS: Sort port maintainers by CPU. 2002-05-04 Bob Byrnes diff --git a/binutils/ar.c b/binutils/ar.c index 8876330189c..f481ff913f1 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -1302,7 +1302,6 @@ replace_members (arch, files_to_move, quick) bfd **after_bfd; /* New entries go after this one */ bfd *current; bfd **current_ptr; - bfd *temp; while (files_to_move && *files_to_move) { @@ -1331,7 +1330,8 @@ replace_members (arch, files_to_move, quick) } if (bfd_stat_arch_elt (current, &asbuf) != 0) /* xgettext:c-format */ - fatal (_("internal stat error on %s"), current->filename); + fatal (_("internal stat error on %s"), + current->filename); if (fsbuf.st_mtime <= asbuf.st_mtime) goto next_file; diff --git a/binutils/binemul.c b/binutils/binemul.c index 2aad20d789d..8ba2a6292f0 100644 --- a/binutils/binemul.c +++ b/binutils/binemul.c @@ -159,7 +159,7 @@ ar_emul_parse_arg (arg) boolean ar_emul_default_parse_arg (arg) - char *arg; + char *arg ATTRIBUTE_UNUSED; { return false; } -- 2.30.2