Two coverage imprivenents, one by recognizing dead code.
This commit is contained in:
parent
9eda1f424d
commit
9b585f40d8
4 changed files with 125 additions and 15 deletions
3
main.c
3
main.c
|
@ -1103,7 +1103,6 @@ Lclearobj:
|
|||
if (!get_command_input(&command))
|
||||
return false;
|
||||
|
||||
Lclosecheck:
|
||||
++game.turns;
|
||||
|
||||
if (closecheck()) {
|
||||
|
@ -1194,8 +1193,6 @@ Lookup:
|
|||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue