From 761c7f08fff8fe6c0ac4f5c5e21f2152b46e0700 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Thu, 26 Oct 2006 00:14:39 +0000 Subject: [PATCH] * elf.c (bfd_section_from_shdr): Remove extraneous breaks. * targets.c (find_target): Remove extraneous break. --- bfd/ChangeLog | 5 +++++ bfd/elf.c | 2 -- bfd/targets.c | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 20184623d69..682cd1e2599 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-10-26 Ben Elliston + + * elf.c (bfd_section_from_shdr): Remove extraneous breaks. + * targets.c (find_target): Remove extraneous break. + 2006-10-26 Ben Elliston * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'. diff --git a/bfd/elf.c b/bfd/elf.c index 84362fcffb7..f2cf85f4c6c 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -2126,13 +2126,11 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex) abfd->flags |= HAS_RELOC; return TRUE; } - break; case SHT_GNU_verdef: elf_dynverdef (abfd) = shindex; elf_tdata (abfd)->dynverdef_hdr = *hdr; return _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex); - break; case SHT_GNU_versym: if (hdr->sh_entsize != sizeof (Elf_External_Versym)) diff --git a/bfd/targets.c b/bfd/targets.c index d8d3709a542..dac113631d7 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1290,7 +1290,6 @@ find_target (const char *name) while (match->vector == NULL) ++match; return match->vector; - break; } } -- 2.30.2