From cead6da76287feeb96653941e2a102fcf4cfe811 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 6 Apr 2025 23:39:49 +0200 Subject: ReadV1GameFmt: fixed dead stores --- FICS/gamedb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/gamedb.c b/FICS/gamedb.c index a21d61e..84cc912 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -1645,10 +1645,9 @@ RemoveHistGame(char *file, int maxlines) char Opponent[MAX_LOGIN_NAME + 1] = { '\0' }; char line[MAX_LINE_SIZE] = { '\0' }; int count = 0; - long int When, oppWhen; + long int When = 0, oppWhen = 0; _Static_assert(20 < ARRAY_SIZE(Opponent), "Not within bounds"); - When = oppWhen = 0; if ((fp = fopen(file, "r")) == NULL) { return; -- cgit v1.2.3