From: Jason S. Ninneman Date: Wed, 19 Jul 2017 16:47:20 +0000 (-0700) Subject: Tell the compiler not to warn about legitimate case fallthroughs. X-Git-Tag: 1.3~50 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=8ac4a59a678a6e522a0c70cca71f5e45896b2549;p=open-adventure.git Tell the compiler not to warn about legitimate case fallthroughs. --- diff --git a/actions.c b/actions.c index e9e7b70..df6bc2e 100644 --- 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);