From 3a722da650b8f5a758f9b661c26271e714989d08 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 11 Jul 2017 11:57:46 -0400 Subject: [PATCH] Minor coverage inclusion. --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.31.1