aboutsummaryrefslogtreecommitdiff
path: root/binutils
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
parent91593c9df47c597123b74db47df36185e1e75ef4 (diff)
downloadgdb-e58a75dc2d5600115065e89bc67ad261ab4c0088.zip
gdb-e58a75dc2d5600115065e89bc67ad261ab4c0088.tar.gz
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')
-rw-r--r--binutils/ChangeLog3
-rw-r--r--binutils/ar.c4
-rw-r--r--binutils/binemul.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 97898c7..7aa4fad 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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>
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;
diff --git a/binutils/binemul.c b/binutils/binemul.c
index 2aad20d..8ba2a62 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;
}