aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
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]);