aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-05-04 01:55:39 +0000
committerAlan Modra <amodra@gmail.com>2002-05-04 01:55:39 +0000
commite58a75dc2d5600115065e89bc67ad261ab4c0088 (patch)
tree9edf912eb7c71ad685f63fd00cc93121cd57fd7f /binutils/ar.c
parent91593c9df47c597123b74db47df36185e1e75ef4 (diff)
downloadfsf-binutils-gdb-e58a75dc2d5600115065e89bc67ad261ab4c0088.zip
fsf-binutils-gdb-e58a75dc2d5600115065e89bc67ad261ab4c0088.tar.gz
fsf-binutils-gdb-e58a75dc2d5600115065e89bc67ad261ab4c0088.tar.bz2
* ar.c (replace_members): Remove unused var. Formatting fix.
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
Diffstat (limited to 'binutils/ar.c')
-rw-r--r--binutils/ar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/ar.c b/binutils/ar.c
index 8876330..f481ff9 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;