aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-07-18 01:59:52 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-07-18 01:59:52 +0200
commit1df314c9f1a9ecd566d472d4d9019f56397292a2 (patch)
treef8624e6d607a6d809a20f0b727f2272315865ad2
parentd10bb2013313f025057899de4b4df563cf11ed7b (diff)
Set 'When' and 'oppWhen' to 0
-rw-r--r--FICS/gamedb.c1
1 files changed, 1 insertions, 0 deletions
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;