summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsiddhesh <siddhesh>2012-09-17 09:41:09 +0000
committersiddhesh <siddhesh>2012-09-17 09:41:09 +0000
commitdccd1ae21942613ca1b2371f45dcea1b8d0588e8 (patch)
treef59fbd8a4380d878f1eba2e703152e12558ce429
parent681192e9b601c8312d6d021dc4befb8c3c94d6b4 (diff)
downloadgdb-dccd1ae21942613ca1b2371f45dcea1b8d0588e8.tar.gz
* tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition
of LEN.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tic6x-tdep.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d3738871b9c..ac8757f220e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c
index a8d518d3ec8..075338610de 100644
--- a/gdb/tic6x-tdep.c
+++ b/gdb/tic6x-tdep.c
@@ -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);