From: NHOrus Date: Tue, 5 Sep 2017 15:32:56 +0000 (+0300) Subject: Silenced fallthrough warning X-Git-Tag: 1.5~20 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=43f0cb232b2c1982ba8b77e56c2f10fef32356f0;ds=sidebyside Silenced fallthrough warning --- diff --git a/saveresume.c b/saveresume.c index 74c03d7..cc000d8 100644 --- a/saveresume.c +++ b/saveresume.c @@ -215,9 +215,11 @@ bool is_valid(struct game_t* valgame) case CHAIN: if (valgame->prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together continue; + /* FALLTHRU */ case BEAR: if (valgame->prop[BEAR] == CONTENTED_BEAR || valgame->prop[BEAR] == BEAR_DEAD) continue; + /* FALLTHRU */ default: return false; }