diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-05-02 10:01:56 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2006-05-02 10:01:56 +0000 |
commit | b48c61bccb90f21e146389b29828671551f381d1 (patch) | |
tree | c1ee39eb4fa6dacfc4b24347dae26c34e1c53b33 /bfd/dwarf2.c | |
parent | 63f2fc308398575e847c6137c241e47dbe36af6a (diff) | |
download | gdb-b48c61bccb90f21e146389b29828671551f381d1.zip gdb-b48c61bccb90f21e146389b29828671551f381d1.tar.gz gdb-b48c61bccb90f21e146389b29828671551f381d1.tar.bz2 |
* archive.c (bfd_generic_archive_p): Remove unused local variable
`fail'.
* dwarf2.c (decode_line_info): Remove unused local variable
`basic_block'.
* elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed
local varibale `s'.
* tekhex.c (tekhex_write_object_contents): Remove unused local
variable `bytes_written'.
* aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
variable `r_addend'.
* elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns.
* elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns.
(_bfd_ns32k_relocate_contents): Remove break after return.
* elf.c (bfd_section_from_shdr): Remove breaks after returns.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index ea4ece4..b55f2fa 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -1117,7 +1117,6 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) unsigned int line = 1; unsigned int column = 0; int is_stmt = lh.default_is_stmt; - int basic_block = 0; int end_sequence = 0; /* eraxxon@alumni.rice.edu: Against the DWARF2 specs, some compilers generate address sequences that are wildly out of @@ -1142,7 +1141,6 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) line += lh.line_base + (adj_opcode % lh.line_range); /* Append row to matrix using current values. */ add_line_info (table, address, filename, line, column, 0); - basic_block = 1; if (address < low_pc) low_pc = address; if (address > high_pc) @@ -1214,7 +1212,6 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) break; case DW_LNS_copy: add_line_info (table, address, filename, line, column, 0); - basic_block = 0; if (address < low_pc) low_pc = address; if (address > high_pc) @@ -1250,7 +1247,6 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) is_stmt = (!is_stmt); break; case DW_LNS_set_basic_block: - basic_block = 1; break; case DW_LNS_const_add_pc: address += lh.minimum_instruction_length |