From 16db164b78b8bd8741b5b6078ea1cfb010fe0559 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 7 Jul 2024 15:53:23 +0200 Subject: Initialization --- FICS/ratings.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'FICS') diff --git a/FICS/ratings.c b/FICS/ratings.c index b461a3d..1634195 100644 --- a/FICS/ratings.c +++ b/FICS/ratings.c @@ -96,10 +96,10 @@ PRIVATE int numB = 0; PRIVATE rateStruct bestW[MAX_BEST]; PRIVATE int numW = 0; -PRIVATE int sHist[MAXHIST]; -PRIVATE int bHist[MAXHIST]; -PRIVATE int wHist[MAXHIST]; -PRIVATE int lHist[MAXHIST]; +PRIVATE int sHist[MAXHIST] = { 0 }; +PRIVATE int bHist[MAXHIST] = { 0 }; +PRIVATE int wHist[MAXHIST] = { 0 }; +PRIVATE int lHist[MAXHIST] = { 0 }; PRIVATE char sdir[] = DEFAULT_STATS; -- cgit v1.2.3