diff options
author | Nick Clifton <nickc@redhat.com> | 2015-11-20 14:15:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-11-20 14:16:30 +0000 |
commit | a915c10f7f1cd8ed433554f05a7281995ae9a540 (patch) | |
tree | 94207acec3e5c0befb01f487480ac00fb5dd4a1b /opcodes | |
parent | Fix missing update in previous patch. (diff) | |
download | binutils-gdb-a915c10f7f1cd8ed433554f05a7281995ae9a540.tar.gz binutils-gdb-a915c10f7f1cd8ed433554f05a7281995ae9a540.tar.bz2 binutils-gdb-a915c10f7f1cd8ed433554f05a7281995ae9a540.zip |
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')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/h8300-dis.c | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 08d4468b524..3eb88d41805 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 2015-11-20 Nick Clifton <nickc@redhat.com> + PR binutils/19224 + * h8300-dis.c (bfd_h8_disassemble): Remove redundant if clause. + +2015-11-20 Nick Clifton <nickc@redhat.com> + * po/zh_CN.po: Updated simplified Chinese translation. 2015-11-19 Matthew Wahab <matthew.wahab@arm.com> 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; |