diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-11-27 04:00:52 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-11-27 04:00:52 +0100 |
commit | 61340a99b0cdb37a3d200b90ee2b061ebb7e118c (patch) | |
tree | 79e3f0d5f27ffdccdc2b17917cf7c14f45743130 /FICS | |
parent | 156b1c7491fe381ed03874784b6755256a45ba39 (diff) |
GetPlayerInfo: initialization
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/makerank.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FICS/makerank.c b/FICS/makerank.c index aed86fa..70fe7ea 100644 --- a/FICS/makerank.c +++ b/FICS/makerank.c @@ -24,10 +24,10 @@ static int rtype; static int GetPlayerInfo(char *fileName, ENTRY *e) { - FILE *fp; - char NameWithCase[30]; - char field[20]; - char line[100]; + FILE *fp = NULL; + char NameWithCase[30] = { '\0' }; + char field[20] = { '\0' }; + char line[100] = { '\0' }; int done = 0; e->computer = 0; |