* ar.c (replace_members): Remove unused var. Formatting fix.

* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
This commit is contained in:
Alan Modra 2002-05-04 01:55:39 +00:00
parent 91593c9df4
commit e58a75dc2d
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2002-05-04 Alan Modra <amodra@bigpond.net.au>
* 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 <byrnes@curl.com>

View File

@ -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;

View File

@ -159,7 +159,7 @@ ar_emul_parse_arg (arg)
boolean
ar_emul_default_parse_arg (arg)
char *arg;
char *arg ATTRIBUTE_UNUSED;
{
return false;
}