* dwarf2expr.c (execute_stack_op, case DW_OP_piece): Delete unused
authorDoug Evans <dje@google.com>
Fri, 11 Sep 2009 23:11:34 +0000 (23:11 +0000)
committerDoug Evans <dje@google.com>
Fri, 11 Sep 2009 23:11:34 +0000 (23:11 +0000)
local addr_or_regnum.

gdb/ChangeLog
gdb/dwarf2expr.c

index 4bf160a..80d33ac 100644 (file)
@@ -1,5 +1,8 @@
 2009-09-11  Doug Evans  <dje@google.com>
 
+       * 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
index 1ff7c3f..2b0f585 100644 (file)
@@ -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);