From: Doug Evans Date: Fri, 11 Sep 2009 23:11:34 +0000 (+0000) Subject: * dwarf2expr.c (execute_stack_op, case DW_OP_piece): Delete unused X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=411c71a82faa92489fef32e0f6934ab609be98c2;p=binutils-gdb.git * dwarf2expr.c (execute_stack_op, case DW_OP_piece): Delete unused local addr_or_regnum. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4bf160abb83..80d33ac07e3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2009-09-11 Doug Evans + * dwarf2expr.c (execute_stack_op, case DW_OP_piece): Delete unused + local addr_or_regnum. + * objfiles.c (struct objfile_data): Delete member cleanup and replace with save, free. (register_objfile_data_with_cleanup): Delete arg cleanup and replace diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c index 1ff7c3f0075..2b0f585e3dc 100644 --- a/gdb/dwarf2expr.c +++ b/gdb/dwarf2expr.c @@ -794,7 +794,6 @@ execute_stack_op (struct dwarf_expr_context *ctx, case DW_OP_piece: { ULONGEST size; - CORE_ADDR addr_or_regnum; /* Record the piece. */ op_ptr = read_uleb128 (op_ptr, op_end, &size);