projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tell the compiler not to warn about legitimate case fallthroughs.
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/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);