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-Tag: gdb-7.11-release~771 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a915c10f7f1cd8ed433554f05a7281995ae9a540;p=external%2Fbinutils.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 08d4468..3eb88d4 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 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. 2015-11-19 Matthew Wahab diff --git a/opcodes/h8300-dis.c b/opcodes/h8300-dis.c index 3eee70b..17a3cbd 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;