[obv][commit] Removed unused definition of LEN

Siddhesh Poyarekar siddhesh@redhat.com
Mon Sep 17 09:51:00 GMT 2012


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);



More information about the Gdb-patches mailing list