summaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorsiddhesh <siddhesh>2012-07-22 16:52:39 +0000
committersiddhesh <siddhesh>2012-07-22 16:52:39 +0000
commitef42572c5a98cb7b0d9604d2a3fad0f5018444d1 (patch)
tree48f89ababaa7ca2cc6828a4b7b64f8153df24173 /gdb/sh-tdep.c
parent16a3fcb0d7270817f9d48d4785d889eb4b48c648 (diff)
downloadgdb-ef42572c5a98cb7b0d9604d2a3fad0f5018444d1.tar.gz
* sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index a8e31b16786..1ede13a3a18 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -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;