Remove a if-clause that is redundant because the same test has been performed earlier on.
authorNick Clifton <nickc@redhat.com>
Fri, 20 Nov 2015 14:15:20 +0000 (14:15 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Nov 2015 14:16:30 +0000 (14:16 +0000)
PR binutils/19224
* h8300-dis.c (bfd_h8_disassemble): Remove redundant if clause.

opcodes/ChangeLog
opcodes/h8300-dis.c

index 08d4468..3eb88d4 100644 (file)
@@ -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>
index 3eee70b..17a3cbd 100644 (file)
@@ -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;