Tweak a coverage exclusion.

This commit is contained in:
Eric S. Raymond 2017-07-10 14:52:18 -04:00
parent 3bfaff447b
commit 76c6ab4cfa

View file

@ -419,11 +419,13 @@ static int chain(verb_t verb)
switch (game.prop[BEAR]) {
case BEAR_DEAD:
// LCOV_EXCL_START
/* Can't be reached as long as the only way for the bear to die
* is from a bridge collapse. Leave in in case this changes, but
* exclude from coverage testing. */
game.fixed[BEAR] = IS_FIXED; // LCOV_EXCL_LINE
game.fixed[BEAR] = IS_FIXED;
break;
// LCOV_EXCL_END
default:
game.fixed[BEAR] = IS_FREE;
}