* 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 4bf160abb8341b7230aececc7255ceae0e55f56f..80d33ac07e3df060a3018c905794ed19f4fa9f01 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 1ff7c3f0075f1d5306b9f055df95ad702eaeafdd..2b0f585e3dc1ec050573df7ad7cd32898b423b3c 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);