From: Nick Clifton Date: Fri, 20 Nov 2015 14:15:20 +0000 (+0000) Subject: Remove a if-clause that is redundant because the same test has been performed earlier on. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a915c10f7f1cd8ed433554f05a7281995ae9a540;p=binutils-gdb.git 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. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 08d4468b524..3eb88d41805 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2015-11-20 Nick Clifton + + PR binutils/19224 + * h8300-dis.c (bfd_h8_disassemble): Remove redundant if clause. + 2015-11-20 Nick Clifton * po/zh_CN.po: Updated simplified Chinese translation. 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;