From: Eric S. Raymond Date: Mon, 10 Jul 2017 18:52:18 +0000 (-0400) Subject: Tweak a coverage exclusion. X-Git-Tag: 1.2~17 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=76c6ab4cfa68ba542d92cf3e58c06fd1be635709;p=open-adventure.git Tweak a coverage exclusion. --- diff --git a/actions.c b/actions.c index 6000f41..2d02595 100644 --- a/actions.c +++ b/actions.c @@ -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; }