Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@redhat.com>
To: gdb-patches@sourceware.org
Subject: [commit-obvious] sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
Date: Sun, 22 Jul 2012 16:54:00 -0000	[thread overview]
Message-ID: <20120722222412.2c741218@spoyarek> (raw)

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;


                 reply	other threads:[~2012-07-22 16:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120722222412.2c741218@spoyarek \
    --to=siddhesh@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox