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:
da37afb
)
Minor coverage inclusion.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 11 Jul 2017 15:57:46 +0000
(11:57 -0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 11 Jul 2017 15:57:46 +0000
(11:57 -0400)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 10d284500d80ec2cd91d84d5b639a9ac3fb74f84..f24c5bc4162cb6480b3f232d69f338b86d663204 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-397,7
+397,8
@@
static bool dwarfmove(void)
else if (j > 1 && game.newloc == tk[j - 1])
continue;
else if (j >= DIM(tk) - 1)
- continue;
+ /* This can't actually happen. */
+ continue; // LCOV_EXCL_LINE
else if (game.newloc == game.dloc[i])
continue;
else if (FORCED(game.newloc))