projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminated a label
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index 80e534b6da793c2cebbb8e8a274dcbb75d918078..2d02595cf305c3e83e39066f4688c332e7e8f6eb 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-419,8
+419,13
@@
static int chain(verb_t verb)
switch (game.prop[BEAR]) {
case BEAR_DEAD:
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;
break;
game.fixed[BEAR] = IS_FIXED;
break;
+ // LCOV_EXCL_END
default:
game.fixed[BEAR] = IS_FREE;
}
default:
game.fixed[BEAR] = IS_FREE;
}