* sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Sun, 22 Jul 2012 16:52:41 +0000 (16:52 +0000)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Sun, 22 Jul 2012 16:52:41 +0000 (16:52 +0000)
gdb/ChangeLog
gdb/sh-tdep.c

index 4be51eb33baf2d2f6095c4e54d4b232011e2300d..e13db0d67c5cdef4df9fd86fc99911cf3cae4c37 100644 (file)
@@ -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 a8e31b167868359859f5ab8785bd26c4c2158000..1ede13a3a18d53133c6dea9902e00bb138c87150 100644 (file)
@@ -1032,8 +1032,6 @@ sh_next_flt_argreg (struct gdbarch *gdbarch, int len, struct type *func_type)
 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;