jit: make gdb_symtab::blocks an std::forward_list
[deliverable/binutils-gdb.git] / bfd / archures.c
index 1e6611069c8adb8590a836b50487d7939a8aa333..7866c6095b5d06a68da3edc309ecd7f7b72a5f07 100644 (file)
@@ -1391,15 +1391,13 @@ DESCRIPTION
 unsigned int
 bfd_octets_per_byte (const bfd *abfd, const asection *sec)
 {
-  unsigned int opb = bfd_arch_mach_octets_per_byte (bfd_get_arch (abfd),
-                                                   bfd_get_mach (abfd));
-
   if (bfd_get_flavour (abfd) == bfd_target_elf_flavour
       && sec != NULL
       && (sec->flags & SEC_ELF_OCTETS) != 0)
-    opb = 1;
+    return 1;
 
-  return opb;
+  return bfd_arch_mach_octets_per_byte (bfd_get_arch (abfd),
+                                       bfd_get_mach (abfd));
 }
 
 /*
This page took 0.023611 seconds and 4 git commands to generate.