summaryrefslogtreecommitdiff
path: root/opcodes/h8300-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-11-20 14:15:20 +0000
committerNick Clifton <nickc@redhat.com>2015-11-20 14:16:30 +0000
commita915c10f7f1cd8ed433554f05a7281995ae9a540 (patch)
tree94207acec3e5c0befb01f487480ac00fb5dd4a1b /opcodes/h8300-dis.c
parent9b334a2ccd0ba00d67ae590b3bab470836f79269 (diff)
downloadbinutils-gdb-a915c10f7f1cd8ed433554f05a7281995ae9a540.tar.gz
Remove a if-clause that is redundant because the same test has been performed earlier on.
PR binutils/19224 * h8300-dis.c (bfd_h8_disassemble): Remove redundant if clause.
Diffstat (limited to 'opcodes/h8300-dis.c')
-rw-r--r--opcodes/h8300-dis.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c
index 3eee70b9291..17a3cbdd34d 100644
--- a/opcodes/h8300-dis.c
+++ b/opcodes/h8300-dis.c
@@ -544,10 +544,6 @@ bfd_h8_disassemble (bfd_vma addr, disassemble_info *info, int mach)
(data[i] << 16) | (data[i + 1] << 8) | (data[i + 2]);
cstlen[opnr] = 24;
}
- else if (looking_for & IGNORE)
- {
- ;
- }
else if (looking_for & DISPREG)
{
dispregno[opnr] = thisnib & 7;