aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2025-04-06 23:39:49 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2025-04-06 23:39:49 +0200
commitcead6da76287feeb96653941e2a102fcf4cfe811 (patch)
treee6528bf6f27e3bf896469871e600e0249df447b7 /FICS
parent56cbbedea9e5efed97dc669c633d5d00677f6e67 (diff)
ReadV1GameFmt: fixed dead stores
Diffstat (limited to 'FICS')
-rw-r--r--FICS/gamedb.c3
1 files changed, 1 insertions, 2 deletions
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;