removed some unreachable code from objcopy
authorKen Raeburn <raeburn@cygnus>
Wed, 14 Dec 1994 21:37:00 +0000 (21:37 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 14 Dec 1994 21:37:00 +0000 (21:37 +0000)
binutils/ChangeLog
binutils/objcopy.c

index d7e83c8..3f3aac5 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec 14 15:51:56 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * objcopy.c (copy_object): Don't bother setting status after
+       nonfatal() "call", because it won't return.
+
 Fri Dec  9 00:22:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
index d1d03ae..926ff6b 100644 (file)
@@ -584,7 +584,6 @@ copy_object (ibfd, obfd)
                                                  off, now))
                    {
                      nonfatal (bfd_get_filename (obfd));
-                     status = 1;
                    }
                  left -= now;
                  off += now;