Tell the compiler not to warn about legitimate case fallthroughs. 254/head
authorJason S. Ninneman <jsn@mbar.us>
Wed, 19 Jul 2017 16:47:20 +0000 (09:47 -0700)
committerJason S. Ninneman <jsn@mbar.us>
Wed, 19 Jul 2017 16:47:20 +0000 (09:47 -0700)
actions.c

index e9e7b705e3a09a2de045cc90bfe640e3690b7f76..df6bc2e3c215cb00338f7f8a54cdc9cd5990e47c 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -265,6 +265,7 @@ static int vbreak(verb_t verb, obj_t obj)
             game.fixed[VASE] = IS_FIXED;
             break;
         }
+       /* FALLTHRU */
     default:
         speak(actions[verb].message);
     }
@@ -591,6 +592,7 @@ static int eat(verb_t verb, obj_t obj)
     case INTRANSITIVE:
         if (!HERE(FOOD))
             return GO_UNKNOWN;
+       /* FALLTHRU */
     case FOOD:
         DESTROY(FOOD);
         rspeak(THANKS_DELICIOUS);