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 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; -- 2.30.2