diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-07-22 16:52:41 +0000 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-07-22 16:52:41 +0000 |
commit | 2322ff168ca5147b12dd703f4816c8bc51a91e18 (patch) | |
tree | 4d745ed08800306fb689cf39911b7628dc34a507 /gdb/sh-tdep.c | |
parent | e30324cba50555f8252b1937d8176654b788d1d5 (diff) | |
download | gdb-2322ff168ca5147b12dd703f4816c8bc51a91e18.zip gdb-2322ff168ca5147b12dd703f4816c8bc51a91e18.tar.gz gdb-2322ff168ca5147b12dd703f4816c8bc51a91e18.tar.bz2 |
* 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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index a8e31b1..1ede13a 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; |