From 63ca9597f087e125966d1aa8f55a79a12d6aed16 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 14 Dec 1994 21:37:00 +0000 Subject: [PATCH] removed some unreachable code from objcopy --- binutils/ChangeLog | 5 +++++ binutils/objcopy.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d7e83c8..3f3aac5 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 d1d03ae..926ff6b 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; -- 2.7.4