From deec9a9d321123dc655802a6d0fade5380d8bfb7 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 17 Sep 2012 09:41:12 +0000 Subject: [PATCH] * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition of LEN. --- gdb/ChangeLog | 5 +++++ gdb/tic6x-tdep.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d3738871b9c..ac8757f220e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-09-17 Siddhesh Poyarekar + + * tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition + of LEN. + 2012-09-17 Siddhesh Poyarekar * m2-valprint.c (m2_print_array_contents): Eliminate variable 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); -- 2.30.2