X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=main.c;h=f24c5bc4162cb6480b3f232d69f338b86d663204;hp=10d284500d80ec2cd91d84d5b639a9ac3fb74f84;hb=92ddbba2120c614f073ad3ccbf4c5c83597dea12;hpb=00cf2a937381701921ade375ab1c6f681af85b91 diff --git a/main.c b/main.c index 10d2845..f24c5bc 100644 --- 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))