From ba685ccb8e48c0f831dc9627936a8c70535f994b 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 97898c742..7aa4fad2e 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 887633018..f481ff913 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 2aad20d78..8ba2a6292 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.11.4.GIT