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 08d4468b52427fadae1f3a8038e8470ca6db930f..3eb88d41805f6eb9223adb13b7558e0a68123a4c 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 3eee70b92912c705efe7020a74d125e3f3b6b67d..17a3cbdd34de292b50fa5f59108ba617d1619806 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;