Add C coverage exclsion required by unbreaking the property setter.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 11 Mar 2023 15:29:38 +0000 (10:29 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 11 Mar 2023 15:29:38 +0000 (10:29 -0500)
saveresume.c

index d66854344733de47951fb7a3cd33f9eba356f72c..05e12b7daefe475590cf3f2148193f1da440ed8d 100644 (file)
@@ -230,7 +230,7 @@ bool is_valid(struct game_t valgame)
             case VASE:
             case CHAIN:
                 if (valgame.prop[obj] == 2) // There are multiple different states, but it's convenient to clump them together
-                    continue;
+                    continue;  // LCOV_EXCL_LINE
             /* FALLTHRU */
             case BEAR:
                 if (valgame.prop[BEAR] == CONTENTED_BEAR || valgame.prop[BEAR] == BEAR_DEAD)