* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
authorBen Elliston <bje@au.ibm.com>
Thu, 26 Oct 2006 00:14:39 +0000 (00:14 +0000)
committerBen Elliston <bje@au.ibm.com>
Thu, 26 Oct 2006 00:14:39 +0000 (00:14 +0000)
* targets.c (find_target): Remove extraneous break.

bfd/ChangeLog
bfd/elf.c
bfd/targets.c

index 20184623d69ece1403e4063404bca5324e2947c9..682cd1e2599205506f12d744a17793a6a174092e 100644 (file)
@@ -1,3 +1,8 @@
+2006-10-26  Ben Elliston  <bje@au.ibm.com>
+
+       * elf.c (bfd_section_from_shdr): Remove extraneous breaks.
+       * targets.c (find_target): Remove extraneous break.
+
 2006-10-26  Ben Elliston  <bje@au.ibm.com>
 
        * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'.
index 84362fcffb7996fcb37a1644573da87a322b5425..f2cf85f4c6cd06fb3eb0ceb24ef7f8658d2d8f90 100644 (file)
--- 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))
index d8d3709a542bbc6285ba6e2ee9afe461fd49637a..dac113631d7aa7889b4236f79ea30f461ce2c6be 100644 (file)
@@ -1290,7 +1290,6 @@ find_target (const char *name)
          while (match->vector == NULL)
            ++match;
          return match->vector;
-         break;
        }
     }