Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [commit-obvious] sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
@ 2012-07-22 16:54 Siddhesh Poyarekar
  0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2012-07-22 16:54 UTC (permalink / raw)
  To: gdb-patches

Hi,

I have made the following obvious commit to sh-tdep.c, which removes an
unused variable:

http://sourceware.org/ml/gdb-cvs/2012-07/msg00173.html

Regards,
Siddhesh

Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.14507
diff -u -r1.14507 ChangeLog
--- gdb/ChangeLog	20 Jul 2012 17:54:05 -0000	1.14507
+++ gdb/ChangeLog	22 Jul 2012 16:49:19 -0000
@@ -1,3 +1,7 @@
+2012-07-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+	* sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
+
 2012-07-20  Jeff Kenton  <jkenton@tilera.com>
 
 	* tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix
Index: gdb/sh-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sh-tdep.c,v
retrieving revision 1.245
diff -u -r1.245 sh-tdep.c
--- gdb/sh-tdep.c	8 Jun 2012 14:24:57 -0000	1.245
+++ gdb/sh-tdep.c	22 Jul 2012 16:49:31 -0000
@@ -1032,8 +1032,6 @@
 static int
 sh_treat_as_flt_p (struct type *type)
 {
-  int len = TYPE_LENGTH (type);
-
   /* Ordinary float types are obviously treated as float.  */
   if (TYPE_CODE (type) == TYPE_CODE_FLT)
     return 1;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-22 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-22 16:54 [commit-obvious] sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox