diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-06-27 04:07:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-06-27 04:07:50 +0000 |
commit | 1995df0090ab0d2d6567c32ecd7665d320e55af5 (patch) | |
tree | b83b202dd37eae31c719df5fb29f1f96970c0f9a /opcodes/bfin-dis.c | |
parent | 7b2094d39f8b2651b4a056bd5d5872ae9406f329 (diff) | |
download | binutils-redhat-1995df0090ab0d2d6567c32ecd7665d320e55af5.tar.gz |
fix set but unused variable warnings
Diffstat (limited to 'opcodes/bfin-dis.c')
-rw-r--r-- | opcodes/bfin-dis.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c index 0be89f5f01..4741d20026 100644 --- a/opcodes/bfin-dis.c +++ b/opcodes/bfin-dis.c @@ -1,5 +1,5 @@ /* Disassemble ADI Blackfin Instructions. - Copyright 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of libopcodes. @@ -4629,7 +4629,11 @@ _print_insn_bfin (bfd_vma pc, disassemble_info *outf) int rv = 0; status = (*outf->read_memory_func) (pc & ~0x1, buf, 2, outf); + /* FIXME */ + (void) status; status = (*outf->read_memory_func) ((pc + 2) & ~0x1, buf + 2, 2, outf); + /* FIXME */ + (void) status; iw0 = bfd_getl16 (buf); iw1 = bfd_getl16 (buf + 2); @@ -4729,6 +4733,8 @@ print_insn_bfin (bfd_vma pc, disassemble_info *outf) int count = 0; status = (*outf->read_memory_func) (pc & ~0x01, buf, 2, outf); + /* FIXME */ + (void) status; iw0 = bfd_getl16 (buf); count += _print_insn_bfin (pc, outf); |