Silenced fallthrough warning 263/head
authorNHOrus <jy6x2b32pie9@yahoo.com>
Tue, 5 Sep 2017 15:32:56 +0000 (18:32 +0300)
committerNHOrus <jy6x2b32pie9@yahoo.com>
Tue, 5 Sep 2017 15:32:56 +0000 (18:32 +0300)
saveresume.c

index 74c03d76a1741d4aa92fe64598d6c4cad043f7ae..cc000d8acf2ffbd8d291e6c70b321313246de612 100644 (file)
@@ -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;
             }