aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-07-07 15:53:37 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-07-07 15:53:37 +0200
commitf101f95a706f8aca396a60e633d870655f77236e (patch)
tree7bddf60dfcb2bc9bd0c340d0a7c0008646ca572e /FICS
parent16db164b78b8bd8741b5b6078ea1cfb010fe0559 (diff)
Set to zero
Diffstat (limited to 'FICS')
-rw-r--r--FICS/ratings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index 1634195..3cd8d85 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -345,6 +345,8 @@ load_ratings(void)
for (int i = 0; i < MAXHIST; i++) {
int ret, errno_save;
+ sHist[i] = bHist[i] = wHist[i] = lHist[i] = 0;
+
errno = 0;
ret = fscanf(fp, "%d %d %d %d", &sHist[i], &bHist[i], &wHist[i],
&lHist[i]);