From 1df314c9f1a9ecd566d472d4d9019f56397292a2 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 18 Jul 2024 01:59:52 +0200 Subject: Set 'When' and 'oppWhen' to 0 --- FICS/gamedb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'FICS') diff --git a/FICS/gamedb.c b/FICS/gamedb.c index 4f58ddf..3e58b38 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -1549,6 +1549,7 @@ RemoveHistGame(char *file, int maxlines) long int When, oppWhen; _Static_assert(20 < ARRAY_SIZE(Opponent)); + When = oppWhen = 0; if ((fp = fopen(file, "r")) == NULL) { return; -- cgit v1.2.3