* ar.c (replace_members): Remove unused var. Formatting fix.
authorAlan Modra <amodra@gmail.com>
Sat, 4 May 2002 01:55:39 +0000 (01:55 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 4 May 2002 01:55:39 +0000 (01:55 +0000)
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.

binutils/ChangeLog
binutils/ar.c
binutils/binemul.c

index 97898c7422d54525a5dc82de5f004864292d27eb..7aa4fad2e45ee3258df0a84b7dd8ae943188aaee 100644 (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>
index 8876330189c7271d568d04ee68252d0fdd43ecf5..f481ff913f1963688b17d975a4460ac5f8c20c77 100644 (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;
index 2aad20d789dd83b04412e73067917edcb979a504..8ba2a6292f0c070892bcc72303f4d5a7459c8881 100644 (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;
 }