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/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F263%2Fhead;p=open-adventure.git 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; }