aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ratings.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-12-04 20:36:45 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-12-04 20:36:45 +0100
commit6a022232ec48857440213df2a5c88b2efc7a0367 (patch)
tree23e56a97040365daf5c6740e107a67f5a89f6544 /FICS/ratings.c
parent3d66270b4679c906b572ee4fffeb7827fef0a1bf (diff)
DisplayRank: give a value to 'start'
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r--FICS/ratings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index 8871071..64e1eb2 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -1344,6 +1344,7 @@ DisplayRank(int p, param_list param, int showComputers)
} else if (isdigit(param[0].val.word[0])) {
int ret;
+ start = 0;
end = -1;
ret = sscanf(param[0].val.word, "%d-%d", &start, &end);