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=refs%2Fmerge-requests%2F254%2Fhead;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);