diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-07-07 15:53:23 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-07-07 15:53:23 +0200 |
commit | 16db164b78b8bd8741b5b6078ea1cfb010fe0559 (patch) | |
tree | 389d6d20fa0a012753741d308ef6f1aa08d29aa0 /FICS | |
parent | 0cc5734abbe1a7270d2a8ce97cfce2b333aa1336 (diff) |
Initialization
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/ratings.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |