* tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 17 Sep 2012 09:41:12 +0000 (09:41 +0000)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 17 Sep 2012 09:41:12 +0000 (09:41 +0000)
of LEN.

gdb/ChangeLog
gdb/tic6x-tdep.c

index d373887..ac8757f 100644 (file)
@@ -1,5 +1,10 @@
 2012-09-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition
+       of LEN.
+
+2012-09-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
        * m2-valprint.c (m2_print_array_contents): Eliminate variable
        ELTLEN and use TYPE_LENGTH directly.
        (m2_val_print): Likewise.
index a8d518d..0753386 100644 (file)
@@ -895,7 +895,6 @@ tic6x_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
 {
   int argreg = 0;
   int argnum;
-  int len = 0;
   int stack_offset = 4;
   int references_offset = 4;
   CORE_ADDR func_addr = find_function_addr (function, NULL);