Silenced fallthrough warning

This commit is contained in:
NHOrus 2017-09-05 18:32:56 +03:00
parent 96ead306b5
commit 43f0cb232b

View file

@ -215,9 +215,11 @@ bool is_valid(struct game_t* valgame)
case CHAIN: case CHAIN:
if (valgame->prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together if (valgame->prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together
continue; continue;
/* FALLTHRU */
case BEAR: case BEAR:
if (valgame->prop[BEAR] == CONTENTED_BEAR || valgame->prop[BEAR] == BEAR_DEAD) if (valgame->prop[BEAR] == CONTENTED_BEAR || valgame->prop[BEAR] == BEAR_DEAD)
continue; continue;
/* FALLTHRU */
default: default:
return false; return false;
} }