diff options
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r-- | opcodes/disassemble.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index cd134e87189..00583542655 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -111,21 +111,10 @@ disassembler_ftype disassembler (enum bfd_architecture a, bfd_boolean big, unsigned long mach, - bfd *abfd) + bfd *abfd ATTRIBUTE_UNUSED) { disassembler_ftype disassemble; - if (abfd != NULL) - { - /* Do some asserts that the first three parameters should equal - to what we can get from ABFD. On the other hand, these - asserts help removing some compiler errors on unused - parameter. */ - assert (a == bfd_get_arch (abfd)); - assert (big == bfd_big_endian (abfd)); - assert (mach == bfd_get_mach (abfd)); - } - switch (a) { /* If you add a case to this table, also add it to the |