aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2expr.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 22:50:09 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 22:50:09 +0000
commit4fc06681d353f36e1292a062bb01c0f35a31ef38 (patch)
treecee3ab807ace38f073eff850bc02fb5b9f6ee499 /gdb/dwarf2expr.c
parent6b4398f7cdb82bedc0d0a71d95782862bd1a704f (diff)
downloadgdb-4fc06681d353f36e1292a062bb01c0f35a31ef38.zip
gdb-4fc06681d353f36e1292a062bb01c0f35a31ef38.tar.gz
gdb-4fc06681d353f36e1292a062bb01c0f35a31ef38.tar.bz2
2010-05-06 Michael Snyder <msnyder@vmware.com>
* objfiles.c (objfile_relocate): Delete unused variable. * maint.c (_initialize_maint_cmds): Delete unused variable. * demangle.c (_initialize_demangler): Delete unused variable. * corefile.c (reopen_exec_file): Delete unused variable. * dwarf2expr.c (dwarf2_read_address): Delete unused variable. * dwarf2-frame.c (decode_frame_entry): Delete unused variable.
Diffstat (limited to 'gdb/dwarf2expr.c')
-rw-r--r--gdb/dwarf2expr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index ed21edf..9e5ce61 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -250,7 +250,6 @@ dwarf2_read_address (struct gdbarch *gdbarch, gdb_byte *buf,
gdb_byte *buf_end, int addr_size)
{
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
- CORE_ADDR result;
if (buf_end - buf < addr_size)
error (_("dwarf2_read_address: Corrupted DWARF expression."));