From 2322ff168ca5147b12dd703f4816c8bc51a91e18 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Sun, 22 Jul 2012 16:52:41 +0000 Subject: [PATCH] * sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN. --- gdb/ChangeLog | 4 ++++ gdb/sh-tdep.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4be51eb33b..e13db0d67c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-22 Siddhesh Poyarekar + + * sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN. + 2012-07-20 Jeff Kenton * tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index a8e31b1678..1ede13a3a1 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; -- 2.34.1