projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bfaff4
)
Tweak a coverage exclusion.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 10 Jul 2017 18:52:18 +0000
(14:52 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 10 Jul 2017 18:57:55 +0000
(14:57 -0400)
actions.c
patch
|
blob
|
history
diff --git
a/actions.c
b/actions.c
index 6000f41e01980eb91a9ecf82296e5358a515809d..2d02595cf305c3e83e39066f4688c332e7e8f6eb 100644
(file)
--- 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;
}