From: Ken Raeburn Date: Wed, 14 Dec 1994 21:37:00 +0000 (+0000) Subject: removed some unreachable code from objcopy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63ca9597f087e125966d1aa8f55a79a12d6aed16;p=binutils-gdb.git removed some unreachable code from objcopy --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d7e83c87c4f..3f3aac54469 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 14 15:51:56 1994 Ken Raeburn + + * 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 diff --git a/binutils/objcopy.c b/binutils/objcopy.c index d1d03ae63a7..926ff6b09f6 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -584,7 +584,6 @@ copy_object (ibfd, obfd) off, now)) { nonfatal (bfd_get_filename (obfd)); - status = 1; } left -= now; off += now;