From: Eric S. Raymond Date: Tue, 11 Jul 2017 15:57:46 +0000 (-0400) Subject: Minor coverage inclusion. X-Git-Tag: 1.2~1 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=3a722da650b8f5a758f9b661c26271e714989d08 Minor coverage inclusion. --- 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))