projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Two coverage imprivenents, one by recognizing dead code.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index a558f7eb21100751c726778d0ae2acd1bcfc5659..c9aca31658a69ad3a3cc5716b950fdbda8e32a3e 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1103,7
+1103,6
@@
Lclearobj:
if (!get_command_input(&command))
return false;
if (!get_command_input(&command))
return false;
-Lclosecheck:
++game.turns;
if (closecheck()) {
++game.turns;
if (closecheck()) {
@@
-1194,8
+1193,6
@@
Lookup:
return true;
case GO_TOP:
continue; /* back to top of main interpreter loop */
return true;
case GO_TOP:
continue; /* back to top of main interpreter loop */
- case GO_CHECKFOO:
- goto Lclosecheck;
case GO_LOOKUP:
goto Lookup;
case GO_WORD2:
case GO_LOOKUP:
goto Lookup;
case GO_WORD2: