]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/arm/wrapper.c
sim: arm: fix -Wimplicit-fallthrough warnings
[thirdparty/binutils-gdb.git] / sim / arm / wrapper.c
index 52b4dc7d6e09cfefd30ae92ea5b8452ec8d9d637..8d928a6f79f9673f57cf6340860a36f610e3efb4 100644 (file)
@@ -251,7 +251,7 @@ sim_create_inferior (SIM_DESC sd ATTRIBUTE_UNUSED,
        (sim_callback,
         "Unknown machine type '%d'; please update sim_create_inferior.\n",
         mach);
-      /* fall through */
+      ATTRIBUTE_FALLTHROUGH;
 
     case 0:
       /* We wouldn't set the machine type with earlier toolchains, so we
@@ -310,7 +310,7 @@ sim_create_inferior (SIM_DESC sd ATTRIBUTE_UNUSED,
          ARMul_SelectProcessor (state, ARM_v5_Prop | ARM_v5e_Prop | ARM_XScale_Prop);
          break;
        }
-      /* Otherwise drop through.  */
+      ATTRIBUTE_FALLTHROUGH;
 
     case bfd_mach_arm_5T:
       ARMul_SelectProcessor (state, ARM_v5_Prop);