From 8ac4a59a678a6e522a0c70cca71f5e45896b2549 Mon Sep 17 00:00:00 2001 From: "Jason S. Ninneman" Date: Wed, 19 Jul 2017 09:47:20 -0700 Subject: [PATCH] Tell the compiler not to warn about legitimate case fallthroughs. --- actions.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.31.1