This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv][commit] Removed unused definition of LEN
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 17 Sep 2012 15:20:31 +0530
- Subject: [obv][commit] Removed unused definition of LEN
Hi,
Another minor cleanup. This definition of LEN is overridden within the
two blocks within the function that use them, so this one is never used.
Regards,
Siddhesh
http://sourceware.org/ml/gdb-cvs/2012-09/msg00085.html
* tic6x-tdep.c (tic6x_push_dummy_call): Remove unused definition
of LEN.
Index: gdb/tic6x-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/tic6x-tdep.c,v
retrieving revision 1.9
diff -u -r1.9 tic6x-tdep.c
--- gdb/tic6x-tdep.c 8 Aug 2012 05:47:57 -0000 1.9
+++ gdb/tic6x-tdep.c 17 Sep 2012 09:39:55 -0000
@@ -895,7 +895,6 @@
{
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);